Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Time Limit Exceeded):
#coding: utf-8
msprime = []
i = 6
MAX = 300000
while i <= MAX:
    for p in msprime:
        if i % p == 0:
            break
    else:
        msprime.append(i)
        j = i * 2
    if i % 7 == 6:
        i += 2
    else:
        i += 5
print msprime

while True:
    n = int(raw_input())
    if n == 1: break
    fact = []
    for i in msprime:
        if n % i == 0:
            fact.append(i)
    print str(n)+":",
    for i in fact:
        print i,
    print ""

Fixed submission:
#coding: utf-8
import sys

msprime = []
i = 6
MAX = 300000
isprime = [1]*300001
while i*i <= MAX: #?????????????´???°?????????????±???????
    for p in msprime:
        if i % p == 0:
            break
    else:
        msprime.append(i)
        j = i * 2
        while j <= MAX:
            isprime[j] = 0
            j += i
    if i % 7 == 6:
        i += 2
    else:
        i += 5
else:
    tmp = i

for i in range(tmp,MAX):
    if isprime[i] == 1 and i % 7 in (1,6):
        msprime.append(i)

while True:
    n = int(raw_input())
    if n == 1: break
    fact = []
    for i in msprime:
        if n % i == 0:
            fact.append(i)
    sys.stdout.write(str(n)+":")
    for i in fact:
        sys.stdout.write(" "+str(i))
    print ""
Buggy python submission (verdict: Runtime Error):
l = []

for i in range(10):
    l.append(int(input()))

l.sort()

for i in range(3):
    print(l[-1 * [i]])

Fixed submission:
mountains = []
for x in range(10):
    mountains.append(int(raw_input()))
mountains.sort()
print(mountains[-1])
print(mountains[-2])
print(mountains[-3])

Buggy python submission (verdict: Runtime Error):
l = []

for i in range(10):
    l.append(int(input()))

l.sort()

for i in range(3):
    print(l[-1 * [i+1]])

Fixed submission:
mountains = []
for x in range(10):
    mountains.append(int(raw_input()))
mountains.sort()
print(mountains[-1])
print(mountains[-2])
print(mountains[-3])
Buggy python submission (verdict: Runtime Error):
str = input()
l = []
while str != "0 0":
    l.append(str)
    str = input()

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))

Fixed submission:
import sys
l = []
for line in sys.stdin:
    l.append(line)

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))

Buggy python submission (verdict: Runtime Error):
str = input()
l = []
while True:
    l.append(str)
    str = input()

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))

Fixed submission:
import sys
l = []
for line in sys.stdin:
    l.append(line)

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))
Buggy python submission (verdict: Runtime Error):
r = input()
pi = 3.14159265358979
print("{0:10f} {1:10f}".format(r * r * pi, 2 * r * pi))

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))

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

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))

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

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))

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

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))

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

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))

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

Fixed submission:
r = input()
r = float(r)
pi = 3.14159265358979
print("{0:10f} {1:10f}".format((r ** 2 * pi), (2 * r * pi)))
Buggy python submission (verdict: Runtime Error):
num = input()
print(num ** 3)

Fixed submission:
num = input()
print(int(num) ** 3)
Buggy python submission (verdict: Runtime Error):
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
???return input()[::-1]
if __name__ == '__main__':
  main()

Fixed submission:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
if __name__ == '__main__':
  print(input()[::-1])
Buggy python submission (verdict: Runtime Error):
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(num): 
	if num >= 19:
		num = 19 - num + 17
	res = 1
	gro1 = 3
	for i in range(8):
		if i == num:
			return res
		if i == 0:
			gro2 = 3
		else:
			gro2 += 1
		res += gro1
		gro1 += gro2
	
	for i in range(8,19):
		if i == num:
			return res
		gro2 -= 3
		res += gro1
		gro1 += gro2
			
		
if __name__ == '__main__':
	while True:
		try:
			num = int(input())
		except:
			return
		else:
			print(main())

Fixed submission:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# 


def kai(num):
	x = 0
	for i in range(10000):
		
		mk = str(i).zfill(4)
		if int(mk[0])+int(mk[1])+int(mk[2])+int(mk[3]) == num:
				x += 1
	return x

def main(): 
	while True:
		try:
			num = int(input())
		except:
			return
		else:
			print(kai(num))	
if __name__ == '__main__':
	main()
Buggy python submission (verdict: Runtime Error):
num = int(input())
print(num ** 3)
return

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
num = int(input())
print(num ** 3)
return 0

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
num = int(input())
print("\n",num ** 3)
return 0

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
def main();
  num = int(input())
  print("\n",num ** 3)
  return 0

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
def main();
  num = int(input())
  print(num ** 3)
  return0

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
def main();
  num = int(input())
  print(num ** 3)
  return

Fixed submission:
# -*- coding: utf-8 -*-
def main():
  num = int(input())
  print(num ** 3)
  return

if __name__ == '__main__':
  main()

Buggy python submission (verdict: Runtime Error):
x ** 3 == i:
 print(i)

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

Buggy python submission (verdict: Runtime Error):
x**3 == i:
    print(i)

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

Buggy python submission (verdict: Runtime Error):
x**3 == i:
    print(i)

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

Buggy python submission (verdict: Runtime Error):
x**3

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

Buggy python submission (verdict: Runtime Error):
x = raw_input()
print(str(int(x) ** 3))

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

Buggy python submission (verdict: Runtime Error):
x = raw_input()
 print((x) * 3)

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

Buggy python submission (verdict: Runtime Error):
raw_input()
 print((x) * 3)

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

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

Fixed submission:
x = input()
print(int(x) ** 3)
Buggy python submission (verdict: Runtime Error):
x = input()
y = input()
    print((int(x) * 2 + int(y) * 2))
    print((int(x) * int(y))

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

Buggy python submission (verdict: Runtime Error):
x = input()
	y = input()
		print((int(x) * 2 + int(y) * 2))
		print((int(x) * int(y))

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

Buggy python submission (verdict: Runtime Error):
x = input()
y = input()
	print(((int(x) + int(y)) * 2))
	print((int(x) * int(y))

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

Buggy python submission (verdict: Runtime Error):
a = input()
	b???= input()
	print(int(a) * int(b))
	print((int(a) * 2) + (int(b) * 2))

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

Buggy python submission (verdict: Runtime Error):
a = input()
b???= input()
print(int(a) * int(b))
print((int(a) * 2) + (int(b) * 2))

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

Fixed submission:
a ,b = input().split(' ')
print(int(a) * int(b),(int(a) * 2) + (int(b) * 2))

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

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

Fixed submission:
a,b = input().split(' ')
if int(a) > int(b):
	print('a > b')
elif int(a) < int(b):
	print('a < b')
else:
	print('a == b')
Buggy python submission (verdict: Runtime Error):
w ,h ,x ,y ,r = input().split(' ')
if int(x) < int(w) - int(r):
elif int(x) > int(r):
elif int(y) < int(h) - int(r):
elif int(y) > int(r):
	print("Yes")
else:
	print("No")

Fixed submission:
w ,h ,x ,y ,r = input().split(' ')
if int(x) <= int(w) - int(r) and int(x) >= int(r) and int(y) <= int(h) - int(r) and int(y) >= int(r):
	print("Yes")
else:
	print("No")
Buggy python submission (verdict: Runtime Error):
n=input()
m=input()
print n*m

Fixed submission:
l = map(int, raw_input().split())
print l[0]*l[1], l[0]*2+l[1]*2

Buggy python submission (verdict: Runtime Error):
n=map(int, raw_input().split())
print n[0]*n[1] " " n[0]*2+n[1]*2

Fixed submission:
l = map(int, raw_input().split())
print l[0]*l[1], l[0]*2+l[1]*2
Buggy python submission (verdict: Runtime Error):
n = 0
list = []
while n < 10:
    x = input()
    list.append(x)
    n += 1

sort.list()
print(list[7])
print(list[8])
print(list[9])

Fixed submission:
n = 0
list = []
while n < 10:
    x = int(input())
    list.append(x)
    n += 1

list.sort()
print(list[9])
print(list[8])
print(list[7])
Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
values = []
for i in range(n):
    value = int(input())
    values.append(value)

def profit(values):
    sorted_values = sorted(values)
    minimum = sorted_values[0]
    maximum = sorted_values[-1]
    diff_list = []
    while values != []:
        diff = minimum - maximum
        start = values[0]
        for v in values[1:]:
            tmp_diff = v - start
            if tmp_diff > diff:
                diff = tmp_diff
        diff_list.append(diff)
        values.remove(values[0])
    diff_list.sort(reverse = True)
    return diff_list[0]


print(profit(values))

Fixed submission:
n = int(input())
values = [int(input()) for i in range(n)]

maxv = -999999999
minimum = values[0]

for i in range(1, n):
    if values[i] - minimum > maxv:
        maxv = values[i] - minimum
    if values[i] < minimum:
        minimum = values[i]

print(maxv)

Buggy python submission (verdict: Runtime Error):
n = int(input())
values = [int(input()) for i in range(n)]

maxv = -99999999
minimum = values[0]

for i in range(1, N):
    if values[i] - minimum > maxv:
        maxv = values[i] - minimum
    if values[i] < minimum:
        minimum = values[i]

print(maxv)

Fixed submission:
n = int(input())
values = [int(input()) for i in range(n)]

maxv = -999999999
minimum = values[0]

for i in range(1, n):
    if values[i] - minimum > maxv:
        maxv = values[i] - minimum
    if values[i] < minimum:
        minimum = values[i]

print(maxv)
Buggy python submission (verdict: Runtime Error):
x = int(input())
def sanjo(x):
    return x**3

print(sanjo(x))\n

Fixed submission:
x = int(input())
def sanjo(x):
    return x**3

print(sanjo(x))
Buggy python submission (verdict: Runtime Error):
out=[]
while True:
	try:
		k=list(map(int,input().split(" ")))
	        out.append(k[0]+k[1])
	except:
		break

for i in out:
	print(i)

Fixed submission:
out=[]
while True:
	try:
		k=list(map(int,input().split(" ")))
	except:
		break

	out.append(k[0]+k[1])

for i in out:
	print(i)

Buggy python submission (verdict: Runtime Error):
out=[]
while True:
	try:
		k=list(map(int,input().split(" ")))
	        out.append(k[0]+k[1])
	except:
		break

for i in out:
	print(i)

Fixed submission:
out=[]
while True:
	try:
		k=list(map(int,input().split(" ")))
	except:
		break

	out.append(k[0]+k[1])

for i in out:
	print(i)
Buggy python submission (verdict: Runtime Error):
from math import sqrt
x_1,y_1,x_2,y_2=map(int,raw_input().split(" "))
print sqrt((x_1-x_2)**2 + (y_1-y_2)**2)

Fixed submission:
from math import sqrt
x_1,y_1,x_2,y_2=map(float,raw_input().split(" "))
print sqrt((x_1-x_2)**2 + (y_1-y_2)**2)
Buggy python submission (verdict: Runtime Error):
print x**3

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

Buggy python submission (verdict: Runtime Error):
print x**3

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

Buggy python submission (verdict: Runtime Error):
print x*x*x

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

Buggy python submission (verdict: Runtime Error):
x=import()
print x**3

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

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

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

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Buggy python submission (verdict: Runtime Error):
n=input()
N=n.split(" ")
a=int(N[0])
b=int(N[1])
print a*b
print (a+b)*2

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Buggy python submission (verdict: Runtime Error):
n=raw_input()
N=n.split(" ")
a=int(N[0])
b=int(N[1])
print a*b,print (a+b)*2

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Buggy python submission (verdict: Runtime Error):
n=raw_input()
N=n.split(" ")
a=int(N[0])
b=int(N[1])
print a*b ,print (a+b)*2

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Buggy python submission (verdict: Runtime Error):
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,print (a+b)*2

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Buggy python submission (verdict: Runtime Error):
n=input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2

Fixed submission:
n=raw_input()
k=n.split(" ")
a=int(k[0])
b=int(k[1])
print a*b ,
print (a+b)*2
Buggy python submission (verdict: Runtime Error):
#  GNU nano 2.2.6              ????????????: 2_c.py                                  

n=raw_input()
k=n.split(n)
k.sort()
#k=[3,2,1]
print k[0],
print k[1],
print k[2]

Fixed submission:
K=map(int,raw_input().split())
K.sort()
for i in range(len(K)):
 print K[i],

Buggy python submission (verdict: Runtime Error):

n=raw_input()
k=n.split(n)
k.sort()
#k=[3,2,1]
print k[0],
print k[1],
print k[2]

Fixed submission:
K=map(int,raw_input().split())
K.sort()
for i in range(len(K)):
 print K[i],

Buggy python submission (verdict: Runtime Error):
n=raw_input()
k=n.split(n)
k.sort()
print k[0],
print k[1],
print k[2]

Fixed submission:
K=map(int,raw_input().split())
K.sort()
for i in range(len(K)):
 print K[i],
Buggy python submission (verdict: Runtime Error):
n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])

if 0<=x-r<=W:
	if 0=<y-r<=H:
		print "Yes"
	else:
		print "No"
else:
	print "No"

Fixed submission:

n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if 0<=x-r<=x+r<=W:
  if 0<=y-r<=y+r<=H:
    print "Yes"
    f=1
if f==0:
  print "No"

Buggy python submission (verdict: Runtime Error):
n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])



if 0<=x-r<=W:
        if 0<=y-r<=H:
                print "Yes"
        else:
                print "No"
else:

Fixed submission:

n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if 0<=x-r<=x+r<=W:
  if 0<=y-r<=y+r<=H:
    print "Yes"
    f=1
if f==0:
  print "No"

Buggy python submission (verdict: Runtime Error):

n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if x-r>=0:
  if x+r<=W:
    if y-r>=0:
      if y+r<=H
        print "Yes"
        f=1
if f==0:
  print "No"

Fixed submission:

n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if 0<=x-r<=x+r<=W:
  if 0<=y-r<=y+r<=H:
    print "Yes"
    f=1
if f==0:
  print "No"

Buggy python submission (verdict: Runtime Error):
n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if x-r>=0:
  if x+r<=W:
    if y-r>=0:
      if y+r<=H
        print "Yes"
        f=1
if f==0:
  print "No"

Fixed submission:

n=raw_input()
k=n.split(" ")

W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0

if 0<=x-r<=x+r<=W:
  if 0<=y-r<=y+r<=H:
    print "Yes"
    f=1
if f==0:
  print "No"
Buggy python submission (verdict: Runtime Error):
l=raw_input()
k=l.split()
a=0.0
b=0.0
a=int(k[0])
b=int(k[1])
#
print int((a-(a%b))/b),
print int(a%b),
a*=1.0
b*=1.0
if b==1:
        print a*1.0
else:
        if a/b>0.0000002:
                print a/b
        else:   print 0.00000001.99999982

Fixed submission:
l=raw_input()
k=l.split()
a=0.0
b=0.0
a=int(k[0])
b=int(k[1])
#
print int((a-(a%b))/b),
print int(a%b),
a*=1.0
b*=1.0
if b==1:
        print a*1.0
else:
        if a/b>0.0000002:
                print a/b
        else:   print "0.00000001.99999982"
Buggy python submission (verdict: Runtime Error):
from math import *
m=1000000
r_=m*float(input())
S=(pi*r_**2)/(m**2)
l=(2*pi*r)/m
print S,
print l

Fixed submission:
from math import pi
from decimal import Decimal
r=Decimal(str(input()))
p=Decimal(str(pi))
print(str(p*r**2)+" "+str(2*p*r))

Buggy python submission (verdict: Runtime Error):
pi=3.14159265358979324
m=2**1000
r_=m*float(input())
S=(pi*r_**2)/(m**2)
l=(2*pi*r_)/m
print S,
print l

Fixed submission:
from math import pi
from decimal import Decimal
r=Decimal(str(input()))
p=Decimal(str(pi))
print(str(p*r**2)+" "+str(2*p*r))
Buggy python submission (verdict: Runtime Error):
l=raw_input()
k=l.split()
a=int(k[0])
b=k[3] 
c=int(k[2])
#
if b='+':
        print a + b
if b='-':
        print a - b
if b='*':
        print a * b
if b='/':
        print a / b

Fixed submission:
l=raw_input()
k=l.split()
a=int(k[0])
op=k[1]
b=int(k[2])
#
while op<>'?':
        if op=='+':
                print a + b
        if op=='-':
                print a - b
        if op=='*':
                print a * b
        if op=='/':
                print a / b
#
        l=raw_input()
        k=l.split()
        a=int(k[0])
        op=k[1]
        b=int(k[2])