Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
area=r**2*math.pi
circumference=r*2*math.pi
print("{0:.5f} {1:.5f}".format(area,circumference))


Fixed submission:
import math
r=float(input())
area=r**2*math.pi
circumference=r*2*math.pi
print("{0:.5f} {1:.5f}".format(area,circumference))

Buggy python submission (verdict: Runtime Error):
pi=3.141592653589793
r=int(input())
area=r**2*pi
circumference=r*2*pi
print("{0:.5f} {1:.5f}".format(area,circumference))


Fixed submission:
import math
r=float(input())
area=r**2*math.pi
circumference=r*2*math.pi
print("{0:.5f} {1:.5f}".format(area,circumference))
Buggy python submission (verdict: Runtime Error):
listA=[]
listOP=[]
listB=[]
count=0
while True:
    a,op,b=input().split()
    listA.append(int(a))
    listOP.append(op)
    listB.append(int(b))
    if a=="0" and op=="?" and b=="0":
        del listA[len(listA)-1]
        del listOP[len(listOP)-1]
        del listB[len(listB)-1]
        break
#入力パートここまで。計算出力パートここから
while count<=len(listA)-1:
    if listOP[count]=="+":
        print(listA[count]+listB[count])
    elif listOP[count]=="-":
        print(listA[count]-listB[count])
    elif listOP[count]=="*":
        print(listA[count]*listB[count])
    elif listOP[count]=="/":
        print(listA[count]//listB[count])
    else:
        print("ERROR")
    count+=1


Fixed submission:
listA=[]
listOP=[]
listB=[]
count=0
while True:
    a,op,b=input().split()
    listA.append(int(a))
    listOP.append(op)
    listB.append(int(b))
    if op=="?":
        del listA[len(listA)-1]
        del listOP[len(listOP)-1]
        del listB[len(listB)-1]
        break
#入力パートここまで。計算出力パートここから
while count<=len(listA)-1:
    if listOP[count]=="+":
        print(listA[count]+listB[count])
    elif listOP[count]=="-":
        print(listA[count]-listB[count])
    elif listOP[count]=="*":
        print(listA[count]*listB[count])
    elif listOP[count]=="/":
        print(listA[count]//listB[count])
    else:
        print("ERROR")
    count+=1
Buggy python submission (verdict: Runtime Error):
x = list(map(int, input().split()))
num = x.sort()
print(num[0], num[1], num[2])

Fixed submission:
x = list(map(int, input().split()))
x.sort()
print(x[0], x[1], x[2])
Buggy python submission (verdict: Time Limit Exceeded):
if __name__ == '__main__':
    try:
        n = int(raw_input())
    except:
        print 'the first input must be integer value!'
        exit()

    genoms = []
    answers = []
    for _ in range(n):
        values = raw_input().split()
        order = values[0]
        genom = values[1]
        if order == "insert":
            genoms.append(genom)
        else:
            answers.append('yes' if genom in genoms else 'no' )

    # print(genoms)
    # print(answers)

    for answer in answers:
        print answer

Fixed submission:
if __name__ == '__main__':
    try:
        n = int(raw_input())
    except:
        print 'the first input must be integer value!'
        exit()

    genoms = set([])
    answers = []
    for _ in range(n):
        values = raw_input().split()
        order = values[0]
        genom = values[1]
        if order == "insert":
            genoms.add(genom)
        else:
            # TODO: fasten here!
            answers.append('yes' if genom in genoms else 'no' )

    # print(genoms)
    # print(answers)

    for answer in answers:
        print answer
Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())
print(a b)

Fixed submission:
a,b=map(int,input().split())
print(a*b,2*(a+b))
Buggy python submission (verdict: Runtime Error):
 a, b = map(int, input().split())
if a>b:
    print(a>b)
else if a<b:
    print(a<b)
else
    print(a=b)

Fixed submission:
a,b = map(int, input().split(' '))
if a>b:
    print('a > b')
elif a<b:
    print('a < b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
 a, b = map(int, input().split())
if a>b:
    print('a>b')
else if a<b:
    print('a<b')
else:
    print('a=b')

Fixed submission:
a,b = map(int, input().split(' '))
if a>b:
    print('a > b')
elif a<b:
    print('a < b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
 a, b = map(int, input().split())
if a>b:
    print('a>b')
elif a<b:
    print('a<b')
else:
    print('a=b')

Fixed submission:
a,b = map(int, input().split(' '))
if a>b:
    print('a > b')
elif a<b:
    print('a < b')
else:
    print('a == b')

Buggy python submission (verdict: Runtime Error):
 a, b = map(int, input().split(' '))
if a>b:
    print('a>b')
elif a<b:
    print('a<b')
else:
    print('a=b')

Fixed submission:
a,b = map(int, input().split(' '))
if a>b:
    print('a > b')
elif a<b:
    print('a < b')
else:
    print('a == b')
Buggy python submission (verdict: Runtime Error):
a,b,c=map(int,input().split())
if a<b && b<c:
 print('Yes')
else:
 print('No')

Fixed submission:
a,b,c=map(int,input().split())
if a<b<c:
 print('Yes')
else:
 print('No')
Buggy python submission (verdict: Runtime Error):
W,H,x,y,r=map(int,input().split())
if W-x>r&&x>r&&H-y>r&&y>r:
 print('Yes')
else:
 print('No')

Fixed submission:
W,H,x,y,r=map(int,input().split())
if W-x>=r and x>=r and H-y>=r and y>=r:
 print('Yes')
else:
 print('No')

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r=map(int,input().split())
if W-x>r&&x>r&&H-y>r&&y>r:
 print('Yes')
else:
 print('No')

Fixed submission:
W,H,x,y,r=map(int,input().split())
if W-x>=r and x>=r and H-y>=r and y>=r:
 print('Yes')
else:
 print('No')
Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
o = []
for i in range(n):
    op, ob = map(str, input().split())
    if op == "insert":
        o.append(ob)
    else:
        if ob in o:
            print("yes")
        else:
            print("no")


Fixed submission:
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find":
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)

Buggy python submission (verdict: Runtime Error):
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op = "find"
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)


Fixed submission:
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find":
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)

Buggy python submission (verdict: Runtime Error):
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find"
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)


Fixed submission:
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find":
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find":
        ocp = o.copy()
        ocp.add(ob)
        if len(ocp) > a:
            print("no")
        else:
            print("yes")
    else:
        o.add(ob)


Fixed submission:
n = int(input())
o = {""}
for i in range(n):
    a = len(o)
    op, ob = map(str, input().split())
    if op == "find":
        o.add(ob)
        if len(o) > a:
            print("no")
            o.discard(ob)
        else:
            print("yes")
    else:
        o.add(ob)
Buggy python submission (verdict: Runtime Error):
a = input()
print("{}".format(a*a*a))


Fixed submission:
a = int(input())
a = a*a*a
print(a)

Buggy python submission (verdict: Runtime Error):
a = input()
print("%d", a*a*a)


Fixed submission:
a = int(input())
a = a*a*a
print(a)

Buggy python submission (verdict: Runtime Error):
a = input()
a = a*a*a
print(a)


Fixed submission:
a = int(input())
a = a*a*a
print(a)
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input())
print(a*b)


Fixed submission:
a, b = map(int, input().split())
l = 2*(a+b)
s = a*b
print("{} {}".format(s, l))

Buggy python submission (verdict: Runtime Error):
a, b = map(int, input())
print(a*b)


Fixed submission:
a, b = map(int, input().split())
l = 2*(a+b)
s = a*b
print("{} {}".format(s, l))

Buggy python submission (verdict: Runtime Error):
a = list(map(int, input()))

print("{} {}".format(a[0]*a[1], 2*sum(a)))


Fixed submission:
a, b = map(int, input().split())
l = 2*(a+b)
s = a*b
print("{} {}".format(s, l))

Buggy python submission (verdict: Runtime Error):
a, b = list(map(int, input()))
c = a * b
d = 2*(a + b)
print("{} {}".format(c, d))


Fixed submission:
a, b = map(int, input().split())
l = 2*(a+b)
s = a*b
print("{} {}".format(s, l))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>

int main() 
{
    int a, b;
    scanf("%d%d", &a, &b);
    printf("%d %d\n", a*b,  2*a+2*b);
    return 0;
}


Fixed submission:
a, b = map(int, input().split())
l = 2*(a+b)
s = a*b
print("{} {}".format(s, l))
Buggy python submission (verdict: Runtime Error):
s = input()
a, b = divmod(s, 60)
h, m = divmod(a, 60)

print("{02d}:{02d}:{02d}".format(h, m, b))


Fixed submission:
s = int(input())
a, b = divmod(s, 60)
c, d = divmod(a, 60)
print("{}:{}:{}".format(c, d, b))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>

int main()
{

    int s;
    scanf("%d", &s);
    int a = int(s / 60);
    int b = int(a / 60);
    int c = int(b / 60);
    printf("%d:%d:%d\n", a, b, c);
    return 0;
}


Fixed submission:
s = int(input())
a, b = divmod(s, 60)
c, d = divmod(a, 60)
print("{}:{}:{}".format(c, d, b))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>

int main()
{

    int s;
    scanf("%d", &s);
    int a = static_cast<int>(s / 60);
    int b = static_cast<int>(a / 60);
    int c = static_cast<int>(b / 60);
    printf("%d:%d:%d\n", a, b, c);
    return 0;
}


Fixed submission:
s = int(input())
a, b = divmod(s, 60)
c, d = divmod(a, 60)
print("{}:{}:{}".format(c, d, b))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>

int main()
{
    int s;
    scanf("%d", &s);
    double a = s / 3600;
    double b = a / 60;
    double c = b / 60;
    printf("%d:%d:%d\n", int(a), int(b), int(c));
    return 0;
}


Fixed submission:
s = int(input())
a, b = divmod(s, 60)
c, d = divmod(a, 60)
print("{}:{}:{}".format(c, d, b))
Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = map(int, input().split())

if r < x and r < y and y < (h-r) and x < (W-r):
    print("Yes")
else:
    print("No")


Fixed submission:
W, H, x, y, r = map(int, input().split())
checker = [False, False, False, False, False]
checker[0] = (2*r) <= W and (2*r) <= H
checker[1] = x >= r
checker[2] = (x+r) <= W
checker[3] = y >= r
checker[4] = (y+r) <= H
if all(checker):
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
count = 0
while true:
    count += 1
    a = int(input())
    if a == 0:
        break
    print("Case {}: {}".format(count, a))


Fixed submission:
count = 0
while True:
    count += 1
    a = int(input())
    if a == 0:
        break
    print("Case {}: {}".format(count, a))
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print(a//b, a%b, "{10f}".format(a/b))


Fixed submission:
a, b = map(int, input().split())
print("%d %d %.5f" % (a//b, a%b, a/b))

Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print(a//b, " ", a%b, " ", "{10f}".format(a/b))


Fixed submission:
a, b = map(int, input().split())
print("%d %d %.5f" % (a//b, a%b, a/b))

Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print("%d %d %.5f" % a//b, a%b, a/b)


Fixed submission:
a, b = map(int, input().split())
print("%d %d %.5f" % (a//b, a%b, a/b))
Buggy python submission (verdict: Runtime Error):
r = int(input())
PI = 3.141592653589793238462647950288419
S = r * r * PI
L = 2 * r * PI
print("%.6f %.6f" % (S, L))


Fixed submission:
r = float(input())
import math
PI = math.pi
S = r * r * PI
L = 2 * r * PI
print("%f %f" % (S, L))

Buggy python submission (verdict: Runtime Error):
r = int(input())
PI = 3.141592653589793238462647950288419
S = r * r * PI
L = 2 * r * PI
print("%f %f" % (S, L))


Fixed submission:
r = float(input())
import math
PI = math.pi
S = r * r * PI
L = 2 * r * PI
print("%f %f" % (S, L))

Buggy python submission (verdict: Runtime Error):
r = int(input())
import math
PI = math.pi
S = r * r * PI
L = 2 * r * PI
print("%f %f" % (S, L))


Fixed submission:
r = float(input())
import math
PI = math.pi
S = r * r * PI
L = 2 * r * PI
print("%f %f" % (S, L))
Buggy python submission (verdict: Runtime Error):
a = int(input())
b = []
for i in range(1, a+1, 1):
    if "3" in str(i):
        b.append(i)
    elif i % 3 == 0:
        b.append(i)
    else:
        pass
for _ in b:
    print(b + " ", end='')



Fixed submission:
a = int(input())
b = []
print(" ",end="")
for i in range(1, a+1, 1):
    if "3" in str(i):
        b.append(i)
    elif i % 3 == 0:
        b.append(i)
    else:
        pass
count = 0
for i in b:
    count += 1
    if len(b) == count:
        print(i)
        break
    print(i, end="")
    print(" ", end="")

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = []
for i in range(1, a+1, 1):
    if "3" in str(i):
        b.append(i)
    elif i % 3 == 0:
        b.append(i)
    else:
        pass
for i in b:
    print(i + " ", end='')



Fixed submission:
a = int(input())
b = []
print(" ",end="")
for i in range(1, a+1, 1):
    if "3" in str(i):
        b.append(i)
    elif i % 3 == 0:
        b.append(i)
    else:
        pass
count = 0
for i in b:
    count += 1
    if len(b) == count:
        print(i)
        break
    print(i, end="")
    print(" ", end="")
Buggy python submission (verdict: Runtime Error):
r, c = map(int, input().split())
matrix = [[0 for i in range(c+1)] for j in range(r+1)]
for i in range(r):
    a = list(map(int, input().split()))
    for j in range(c):
        matrix[i][j] = a[j]
    matrix[i][c] = sum(a)
for l in range(c+1):
    for m in range(r):
        matrix[r][l] += matrix[m][l]

for cv in range(r+1):
    for fv in range(c+1):
        print(matrix[cv][fv], end='')
        if fv != c:
        print(" ", end='')
    print()


Fixed submission:
r, c = map(int, input().split())
matrix = [[0 for i in range(c+1)] for j in range(r+1)]
for i in range(r):
    a = list(map(int, input().split()))
    for j in range(c):
        matrix[i][j] = a[j]
    matrix[i][c] = sum(a)
for l in range(c+1):
    for m in range(r):
        matrix[r][l] += matrix[m][l]

for cv in range(r+1):
    for fv in range(c+1):
        print(matrix[cv][fv], end='')
        if fv != c:
            print(" ", end='')
    print()
Buggy python submission (verdict: Runtime Error):
#coding:UTF-8
s = input().split()
a = int(s[0])
b = int(s[1])
cir = a+b
area = a*b
print (cir,area)

Fixed submission:
#coding:UTF-8
s = input().split()
cir = 2*(int(s[0])+int(s[1]))
area = int(s[0])*int(s[1])
print (area,cir)

Buggy python submission (verdict: Runtime Error):
#coding:UTF-8
s = input().split()
a = int(s[0])
b = int(s[1])
cir = a+b
area = a*b
print (cir,area)

Fixed submission:
#coding:UTF-8
s = input().split()
cir = 2*(int(s[0])+int(s[1]))
area = int(s[0])*int(s[1])
print (area,cir)

Buggy python submission (verdict: Runtime Error):
#coding:UTF-8
s = input().split()
cir = 2*(int(s[0])+int(s[1]))
area = int(s[0])*int(s[1])
print (area,cir)

Fixed submission:
#coding:UTF-8
s = input().split()
cir = 2*(int(s[0])+int(s[1]))
area = int(s[0])*int(s[1])
print (area,cir)
Buggy python submission (verdict: Runtime Error):
#coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a>b):
    temp=a
    a=b
    b=tem
if(b>c):
    temp=b
    b=c
    c=temp
else:
    print (a,b,c)

Fixed submission:
#coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
for i in range(2):
    if(a>b):
        temp=a
        a=b
        b=temp
    if(b>c):
        temp=b
        b=c
        c=temp
print (a,b,c)
Buggy python submission (verdict: Runtime Error):
#coding:UTF-8
s = input().split()
w=int(s[0])
h=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])

if(x-r=>0 and x+r<=w and y-r=>0 and y+r<=h):
    print("Yes")
else:
    print ("No")

Fixed submission:
#coding:UTF-8
s = input().split()
w=int(s[0])
h=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])

if((x-r)>=0 and (x+r)<=w and (y-r)>=0 and (y+r)<=h):
    print("Yes")
else:
    print ("No")
Buggy python submission (verdict: Time Limit Exceeded):
count=int(raw_input())
l=[]
n=[]
for i in xrange(count):
	a,b=raw_input().split()
	if a=='insert':
		l.append(b)
	elif a=='find':
		if b in l:
			n.append('yes')
		else:
			n.append('no')

for i in n:
	print i

Fixed submission:
count=int(raw_input())
l=set()
for i in xrange(count):
	a,b=raw_input().split()
	if a=='insert':
		l.add(b)
	elif b in l:
		print 'yes'
	else:
		print 'no'
Buggy python submission (verdict: Runtime Error):
import numpy as np
import math
while True:
    n=input()
    if n==0: break
    s=map(int,raw_input().split())
    var=np.var(s)
    print math.sqrt(var)

Fixed submission:
import math
while True:
    n=input()
    if n==0: break
    s=map(int,raw_input().split())
    mean=float(sum(s))/len(s)
    var=[(x-mean)**2/n for x in s]
    print math.sqrt(sum(var))
Buggy python submission (verdict: Runtime Error):
from math import pi
r=int(raw_input())
print ("%f %f" %(pi*r**2, 2*pi*r))

Fixed submission:
from math import pi
r=float(raw_input())
print ("%f %f" %(pi*r**2, 2*pi*r))
Buggy python submission (verdict: Runtime Error):
import sys
write=sys.stdout.write
while True:
	h,w=map(int,raw_input().split())
	if h==w==0: break
	for i in xrange(h):
		l=[('#' if i%2==j%2==0 else ('.' if (i%2==1 and j%2==0) or (i%2==0 and j%2==1) else '#') for j in xrange(w)]
		for i in l:
			write(i)
		print ""
	print ""

Fixed submission:
import sys
write=sys.stdout.write
while True:
	h,w=map(int,raw_input().split())
	if h==w==0: break
	for i in xrange(h):
		l=[('#' if i%2==j%2==0 else ('.' if (i%2==1 and j%2==0) or (i%2==0 and j%2==1) else '#')) for j in xrange(w)]
		for i in l:
			write(i)
		print ""
	print ""
Buggy python submission (verdict: Runtime Error):
#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
	string s;
	while(cin>>s,s!="0"){
		int sum=0;
		for(int i=0;i<s.size();i++) sum+=s[i]-'0';
	cout<<sum<<endl;
	}
	return 0;
}

Fixed submission:
while True:
	data=map(int,list(raw_input()))
	if data==[0]: break
	print sum(data)
Buggy python submission (verdict: Runtime Error):
inputs = input().split(' ')
inputs = list(map(int,inputs))

W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]

if r <= x and x <= W-r and
    r <= y and y <= H-r :
    print('Yes')
else :
    print('No')

Fixed submission:
inputs = input().split(' ')
inputs = list(map(int,inputs))

W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]

if r <= x and x <= W-r and r <= y and y <= H-r :
    print('Yes')
else :
    print('No')

Buggy python submission (verdict: Runtime Error):
inputs = input().split(' ')
inputs = list(map(int,inputs))

W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]

if r <= x and x <= W-r and
    r <= y and y <= H-r :
    print('Yes')
else :
    print('No')

Fixed submission:
inputs = input().split(' ')
inputs = list(map(int,inputs))

W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]

if r <= x and x <= W-r and r <= y and y <= H-r :
    print('Yes')
else :
    print('No')
Buggy python submission (verdict: Runtime Error):
a,b = map(int, input().split())
print(a*b, 2*(a+b))

Fixed submission:
print(int(input())**3)

Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print(a*b, 2*(a+b))

Fixed submission:
print(int(input())**3)
Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())
if a>b:
  print('a > b')
elif a<b:
  print('a < b')
else:
  print('a == b')

Fixed submission:
a,b=map(int,input().split())
if a>b:
  print('a > b')
elif a<b:
  print('a < b')
else:
  print('a == b')
Buggy python submission (verdict: Runtime Error):
import math

r=int(input())
print(r*r*math.pi, 2*r*math.pi)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
ir=int(input())
print(r*r*3.14, 2*r*3.14)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
r=int(input())
print(r*r*3.14, 2*r*3.14)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
import math

r=int(input())
print(r**2*math.pi, 2*r*math.pi)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
r=int(input())
print(r**2*3.14, 2*r*3.14)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
area = r**2*math.pi
circle = 2*r*math.pi
print(area, circle)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
r=int(input())
area = r**2*3.14
circle = 2*r*3.14
print(area, circle)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)

Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
print(r**2*math.pi, 2*r*math.pi)

Fixed submission:
import math
r = float(input())
print(r**2*math.pi, 2*r*math.pi)
Buggy python submission (verdict: Runtime Error):
while(True):
  h,w=map(int,input())
  if h==0 and w==0:
    break
  rect='#'*w+'\n'
  rect+=('#'+'.'*(w-2)+'#\n')*(h-2)
  rect='#'*w+'\n'
  print(rect)

Fixed submission:
while(True):
  h,w=map(int,input().split())
  if h==0 and w==0:
    break
  rect='#'*w+'\n'
  rect+=('#'+'.'*(w-2)+'#\n')*(h-2)
  rect+='#'*w+'\n'
  print(rect)
Buggy python submission (verdict: Runtime Error):
while(True)
  h,w=map(int,input().split())
  if h==0 and w==0:
    break
  rect=''
  for i in range(h):
    for j in range(w):
      if (i+j)%2  == 0:
        rect+='#'
      else:
        rect+='.'
    rect+='\n'
  print(rect)

Fixed submission:
while(True):
  h,w=map(int,input().split())
  if h==0 and w==0:
    break
  rect=''
  for i in range(h):
    for j in range(w):
      if (i+j)%2  == 0:
        rect+='#'
      else:
        rect+='.'
    rect+='\n'
  print(rect)
Buggy python submission (verdict: Runtime Error):
import math
x1, y1, x2, y2 = [int(_) for _ in input().split()]
print(math.sqrt(pow((x2-x1), 2)+pow((y2-y1), 2)))

Fixed submission:
import math
x1, y1, x2, y2 = [float(_) for _ in input().split()]
print(math.sqrt(pow((x2-x1), 2)+pow((y2-y1), 2)))