Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
n,m=map(int,input().split())
mat = [[0 for _ in range(n+1)] for _ in range(m+1)]

for i in range(n):
    r = list(map(int,input().split()))
    for j in range(m):
        mat[i][j] = r[j]

for i in range(n):
    for j in range(m):
        mat[i][-1] += mat[i][j]
        mat[-1][j] += mat[i][j]
    mat[-1][-1] += mat[i][-1]
        
for i in range(n+1):
    for j in range(m+1):
        print(mat[i][j],end = ' ')
    print('')




Fixed submission:
n, m = map(int, input().split())
mat = [[0 for x in range(m+1)] for y in range(n+1)]

for i in range(n):
    r = list(map(int,input().split()))
    for j in range(m):
        mat[i][j] = r[j]

for i in range(n):
    for j in range(m):
        mat[i][-1] += mat[i][j]
        mat[-1][j] += mat[i][j]
    mat[-1][-1] += mat[i][-1]

for i in range(n+1):
    print(*mat[i])

Buggy python submission (verdict: Runtime Error):
n, m = map(int, input().split())
mat = [[0 for x in range(n+1)] for y in range(m+1)]

for i in range(n):
    r = list(map(int,input().split()))
    for j in range(m):
        mat[i][j] = r[j]

for i in range(n):
    for j in range(m):
        mat[i][-1] += mat[i][j]
        mat[-1][j] += mat[i][j]
    mat[-1][-1] += mat[i][-1]
        
for i in range(n+1):
    for j in range(m+1):
        print(mat[i][j],end = ' ')
    print('')




Fixed submission:
n, m = map(int, input().split())
mat = [[0 for x in range(m+1)] for y in range(n+1)]

for i in range(n):
    r = list(map(int,input().split()))
    for j in range(m):
        mat[i][j] = r[j]

for i in range(n):
    for j in range(m):
        mat[i][-1] += mat[i][j]
        mat[-1][j] += mat[i][j]
    mat[-1][-1] += mat[i][-1]

for i in range(n+1):
    print(*mat[i])
Buggy python submission (verdict: Runtime Error):
import sys
a,b = map(int(sys.stdin.readline().split()))
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b")


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


Fixed submission:
import sys
a,b,c = map(int,sys.stdin.readline().split())
if (a < b and b < c):
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
import sys
a,b = map(int(sys.stdin.readline().split()))
print(a*b,2(a+b))


Fixed submission:
import sys
a,b=map(int,sys.stdin.readline().split())
print(a*b,2*(a+b))
Buggy python submission (verdict: Runtime Error):
x=input()
x=x**3
print(x)


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

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


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

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


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

Buggy python submission (verdict: Runtime Error):
Print(2**3)


Fixed submission:
import sys

x = int(sys.stdin.readline())
print(x**3)
Buggy python submission (verdict: Runtime Error):
a=input()
a=a.split(" ")
print(int(a[0])*int(a[1]),2*(int(a[0])+int(b[0])))


Fixed submission:
a = input()
a = a.split(" ")
b = int(a[1])
a = int(a[0])
s = a*b
l = 2*(a+b)
print(s,l)
Buggy python submission (verdict: Runtime Error):
W,H,x,y,r=map(int,input().split())
if y+r<=H and y>r and x+r<W and x>r:
    print("Yes")
else
    print("No")


Fixed submission:
W,H,x,y,r=map(int,input().split())
if y+r<=H and y>=r and x+r<=W and x>=r:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    H,W=input().split())
    s = ""
    for j in range(int(W))
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")


Fixed submission:
for i in range(10000):
    H,W=input().split()
    if H=="0" and W=="0":
        break
    s = ""
    for j in range(int(W)):
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")

Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    H,W=input().split())
    s = ""
    for j in range(int(W)):
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")


Fixed submission:
for i in range(10000):
    H,W=input().split()
    if H=="0" and W=="0":
        break
    s = ""
    for j in range(int(W)):
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")

Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    H,W=input().split())
    if H=="0" and W=="0":
        break
    s = ""
    for j in range(int(W)):
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")


Fixed submission:
for i in range(10000):
    H,W=input().split()
    if H=="0" and W=="0":
        break
    s = ""
    for j in range(int(W)):
        s = s + "#"
    for k in range(int(H)):
        print(s)
    print("")
Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    H,W=input().split()
    if H==0 and W==0:
        break
    s=""
    t=""
    for j in range(int(W)):
        s+="#"
        if j==0 or j==int(W)-1:
            t+="#"
        else:
            t+="."
    for k in range(int(H)):
        if k==0 or k==int(H)-1:
            print(s)
        else:
            print(t)
    print("")


Fixed submission:
for i in range(10000):
    H,W=input().split()
    if H=="0" and W=="0":
        break
    s=""
    t=""
    for j in range(int(W)):
        s+="#"
        if j==0 or j==int(W)-1:
            t+="#"
        else:
            t+="."
    for k in range(int(H)):
        if k==0 or k==int(H)-1:
            print(s)
        else:
            print(t)
    print("")
Buggy python submission (verdict: Runtime Error):
N = input()

N = pow(N,3)

print(N¥n)


Fixed submission:
N = input()

N = pow(N,3)

print(N)

Buggy python submission (verdict: Runtime Error):
N = input()

N = pow(N,3)

N = str(N)

print(N¥n)


Fixed submission:
N = input()

N = pow(N,3)

print(N)

Buggy python submission (verdict: Runtime Error):
N = input()

N = N*N*N

print(N¥n)


Fixed submission:
N = input()

N = pow(N,3)

print(N)
Buggy python submission (verdict: Runtime Error):
l = map(int, raw_input().split())

a = l[0]
b = l[1]
c = l[2]

if a < b && b < c :
    print('Yes')
else:
   print('No')



Fixed submission:
l = map(int, raw_input().split())

a = l[0]
b = l[1]
c = l[2]

if a < b and b < c :
    print('Yes')
else:
   print('No')
Buggy python submission (verdict: Runtime Error):
l = map(int, raw_input().split())

l.sort()

print(str(l[0]+' '+strl[1]+' '+str[2])


Fixed submission:
l = map(int, raw_input().split())

l.sort()

print(str(l[0])+' '+str(l[1])+' '+str(l[2]))
Buggy python submission (verdict: Runtime Error):
import sys
x = int(sys.argv[1])
print(x**3)


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

Buggy python submission (verdict: Runtime Error):
import sys
x = int(sys.argv[1])
print(x**3)


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

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


Fixed submission:
x = input()
print(x**3)
Buggy python submission (verdict: Runtime Error):
num = raw_input().split(" ")

a = num[0]
b = num[1]
c = num[2]

if a<b and b<c:
    print("Yes")
else:
    print("No")




Fixed submission:
num = raw_input().split(" ")

a = num[0]
b = num[1]
c = num[2]

if a<b and b<c:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
list = raw_input().split(" ")
list.sort()


Fixed submission:
list = raw_input().split(" ")
list.sort()
print(" ".join(list))

Buggy python submission (verdict: Runtime Error):
list = raw_input().split(" ")
list.sort()
print(list)


Fixed submission:
list = raw_input().split(" ")
list.sort()
print(" ".join(list))

Buggy python submission (verdict: Runtime Error):
list = raw_input().split(" ")
list.sort()
print(list)


Fixed submission:
list = raw_input().split(" ")
list.sort()
print(" ".join(list))

Buggy python submission (verdict: Runtime Error):
list = raw_input().split(" ")
list.sort()
print(" ".join(list))


Fixed submission:
list = raw_input().split(" ")
list.sort()
print(" ".join(list))
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print(a * b, 2(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())
print(a * b, 2(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())
print(a * b, 2(a + b))


Fixed submission:
a, b = map(int, input().split())
print(a * b, 2 * (a + b))
Buggy python submission (verdict: Runtime Error):
x = int(input())
print("{0}:{1}:{2}",format(x // 3600, x // 60 % 60, x % 60 )


Fixed submission:
x = int(input())
print("{0}:{1}:{2}".format(x // 3600, x // 60 % 60, x % 60 ))

Buggy python submission (verdict: Runtime Error):
x = int(input())
print("{0}:{1}:{2}",format(x // 3600, x // 60 % 60, x % 60 ))


Fixed submission:
x = int(input())
print("{0}:{1}:{2}".format(x // 3600, x // 60 % 60, x % 60 ))
Buggy python submission (verdict: Runtime Error):
a = list(map(int, input()))
a.sort()
maped_list = map(str, a)
mojiretsu = ','.join( a )    
print(mojiretsu)



Fixed submission:
a, b, c = map(int, input().split())
if a < b < c:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
a = list(map(int, input()))
a.sort()
maped_list = map(str, a)
mojiretsu = ' '.join( a )    
print(mojiretsu)


Fixed submission:
a, b, c = map(int, input().split())
if a < b < c:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
a = map(int, input())
a.sort()
maped_list = map(str, a)
mojiretu = ','.join(maped_list)    
print(mojiretu)



Fixed submission:
xs = sorted(list(map(int, input().split())))
print(' '.join(map(str, xs)))
Buggy python submission (verdict: Runtime Error):
w, h, x, y, r = map(int(input.split()))
if(x < r or y < r or x + r > w or y + r > h):
    print("No")
else:
    print("Yes")


Fixed submission:
w, h, x, y, r = map(int, input().split())
if(x < r or y < r or x + r > w or y + r > h):
    print("No")
else:
    print("Yes")

Buggy python submission (verdict: Runtime Error):
w, h, x, y, r = map(int, input.split())
if(x < r or y < r or x + r > w or y + r > h):
    print("No")
else:
    print("Yes")


Fixed submission:
w, h, x, y, r = map(int, input().split())
if(x < r or y < r or x + r > w or y + r > h):
    print("No")
else:
    print("Yes")
Buggy python submission (verdict: Runtime Error):
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {i}:{x}".format(i, x))


Fixed submission:
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {0}: {1}".format(i, x))
    i += 1

Buggy python submission (verdict: Runtime Error):
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {i}: {x}".format(i, x))
    i += 1


Fixed submission:
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {0}: {1}".format(i, x))
    i += 1
Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 21 16:06:06 2018

@author: yusei
"""

h1=int(input())
a = h1**3
print (a)

h2=int(input())
b = h2**3
print (b)


Fixed submission:
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 21 16:06:06 2018

@author: yusei
"""

h1=int(input())

a = h1*h1*h1

print (a)

Buggy python submission (verdict: Runtime Error):
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 21 16:06:06 2018

@author: yusei
"""

h1=int(input())
a = h1**3
print (a)

h2=int(input())
b = h2**3
print (b)


Fixed submission:
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 21 16:06:06 2018

@author: yusei
"""

h1=int(input())

a = h1*h1*h1

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

z = z.split( )

a = z[0] * z[1]
b = z[0] * 2 + z[1] * 2
print(a + " " + b)


Fixed submission:
z = input()

z = z.split( )
a = int(z[0]) * int(z[1])
b = int(z[0]) * 2 + int(z[1]) * 2

print(str(a) + ' ' + str(b))
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("{0} {1}".format(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("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

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



Fixed submission:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

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



Fixed submission:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

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



Fixed submission:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

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



Fixed submission:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))

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



Fixed submission:
import math
r = float(input())  #入力値が実数の時
print("{0} {1}".format(r**2 * math.pi, 2 * r * math.pi))
Buggy python submission (verdict: Runtime Error):
a = input()
b = int(a / 3600)
c = int((a % 3600)/60)
d = (a%60)
print(str(b) + ":" + str(c) + ":" + d)



Fixed submission:
a =input()
a =int(a)
b = int(a/3600)
c = int((a%3600)/60)
d = int(a%60)
print(str(b) + ":" + str(c) + ":" + str(d))
Buggy python submission (verdict: Runtime Error):
r = int(input())
import math
S = "%.5f"%(r ** 2 * math.pi)
L = "%.5f"%(2 * r * math.pi)
print(str(S) + " " + str(L))



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

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



Fixed submission:
r = float(input())
import math
S = "%.6f"%(r ** 2 * math.pi)
L = "%.6f"%(2 * r * math.pi)
print(str(S) + " " + str(L))
Buggy python submission (verdict: Runtime Error):
x**3


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

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


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

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


Fixed submission:
x = int(input( ))
print(x**3)
Buggy python submission (verdict: Runtime Error):
lis = [int(x)for x in input().split()]
print(str(lis[0]*lis[1]) + " " + str((lis[0]+lis[1])*2)


Fixed submission:
lis = [int(x) for x in input().split()]
print(str(lis[0]*lis[1]) + " " + str(lis[0]*2+lis[1]*2))
Buggy python submission (verdict: Runtime Error):
import numpy as np
def main():
    x = np.array([1,100])
print(np.cube(x))


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

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


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

Buggy python submission (verdict: Runtime Error):
ihlkn


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

Buggy python submission (verdict: Runtime Error):

x = input()

print (x^3)


Fixed submission:
x = int(input())
print (x*x*x)
Buggy python submission (verdict: Runtime Error):
S = int(input())

hour = S / (60*60)
min = (S - hour * 60*60) / 60
sec = S % 3600

print (hour+":"+min+":"sec)


Fixed submission:
S = int(input())
 
hour = int(S / (60*60))
min = int(S % (60*60) / 60)
sec = int(S % 60)

print (':'.join(map(str,[hour,min,sec])))

Buggy python submission (verdict: Runtime Error):
S = int(input())
 
hour = S / (60*60)
min = S % (60*60) / 60
sec = S % 60
 
print (hour+":"+min+":"sec)


Fixed submission:
S = int(input())
 
hour = int(S / (60*60))
min = int(S % (60*60) / 60)
sec = int(S % 60)

print (':'.join(map(str,[hour,min,sec])))
Buggy python submission (verdict: Runtime Error):
a,b = list(map(int,input().split())

if a > b:
print(">".join(map(str,[a,b])))
elsif a < b:
print("<".join(map(str,[a,b])))
else:
print("=".join(map(str,[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 = list(map(int,input().split())

if a > b:
print(">".join(map(str,[a,b])))
elif a < b:
print("<".join(map(str,[a,b])))
else:
print("=".join(map(str,[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 = list(map(int,input().split()))

if a > b:
print(">".join(map(str,[a,b])))
elif a < b:
print("<".join(map(str,[a,b])))
else:
print("=".join(map(str,[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 :
 if b < c:
  print(a,b,c)
 else:
  print(a,c,b)    
else:
 if a < c:
  print(b,a,c)
else:
  print(b,c,a)



Fixed submission:
d = list(map(int,input().split()))
d.sort()
print(d[0],d[1],d[2])
Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = map(int,input().split())

right =  x + abs(r)
left = x - abs(r)
top = y + abs(r)
bottom = y - abs(r)

if right < W and left >= 0 and top < H  and bottom >= 0:
  print("Yes")
 else:
  print("No")



Fixed submission:
W, H, x, y, r = map(int,input().split())

right =  x + abs(r)
left = x - abs(r)
top = y + abs(r)
bottom = y - abs(r)

if right <= W and left >= 0 and top <= H  and bottom >= 0:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
cnt = 1
c = input()
while c != 0:
 print(cnt,c)
 c = input()
 cnt += 1


Fixed submission:
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt,c))
 c = int(input())
 cnt += 1

Buggy python submission (verdict: Runtime Error):
cnt = 1
c = raw_input()
while c != 0:
 print(cnt,c)
 c = raw_input()
 cnt += 1


Fixed submission:
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt,c))
 c = int(input())
 cnt += 1

Buggy python submission (verdict: Runtime Error):
cnt = 1
c = int(input())
while c != 0:
 print(Case,cnt,:,c)
 c = int(input())
 cnt += 1


Fixed submission:
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt,c))
 c = int(input())
 cnt += 1

Buggy python submission (verdict: Runtime Error):
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt).format(c))
 c = int(input())
 cnt += 1


Fixed submission:
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt,c))
 c = int(input())
 cnt += 1
Buggy python submission (verdict: Runtime Error):
#!/usr/bin/env python
# coding: utf-8
#


def main(x):
    a = x[0]
    b = x[1]
    if a < b:
        print('a < b')
        return 
    elif a > b:
        print('a > b')
        return 
    else:
        print('a == b')
        return
    
    
if '__main__' == __name__:
    try:
        while True:
            main(list(map(int, input().strip())))
    except EOFError:
        pass



Fixed submission:
def main(x):
    a = x[0]
    b = x[1]
    if a < b:
        print('a < b')
        return 
    elif a > b:
        print('a > b')
        return 
    else:
        print('a == b')
        return
    
    
if '__main__' == __name__:
    try:
        while True:
            main(list(map(int, input().strip().split(' '))))
    except EOFError:
        pass
Buggy python submission (verdict: Runtime Error):
nums = list(map(int, input().split(" ")))
area = nums[0] * nums[1]
perimeter = nums[0] * 2 + nums[1] * 2
print(area + " " + perimeter)


Fixed submission:
nums = list(map(int, input().split(" ")))
area = nums[0] * nums[1]
perimeter = nums[0] * 2 + nums[1] * 2
print(str(area) + " " + str(perimeter))
Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))


Fixed submission:
import math
r = float(input())

area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))

Buggy python submission (verdict: Runtime Error):
r = int(input())
area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))


Fixed submission:
import math
r = float(input())

area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))

Buggy python submission (verdict: Runtime Error):
r = int(input())
pi = 3.141592653589793
area = pi * r * r
circum = 2 * pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))


Fixed submission:
import math
r = float(input())

area = math.pi * r * r
circum = 2 * math.pi * r
print(str("{0:.6f}".format(area)) + " " + str("{0:.6f}".format(circum)))
Buggy python submission (verdict: Runtime Error):
n = int(input())
nums = list(map(int, input().split(" ")))

maxnum = -1000000
minnum = 1000000
total = 0

for item in nums:
	if maxnum < item:
		maxnum = item
	elif minnum > item:
		minnum = item
	else:
		
		
for item in nums:
	total += item
	
print(str(minnum) + " " + str(maxnum) + " " + str(total))


Fixed submission:
n = int(input())
nums = list(map(int, input().split(" ")))

maxnum = -1000000
minnum = 1000000
total = 0

for item in nums:
	if maxnum < item:
		maxnum = item
	if minnum > item:
		minnum = item
		
for item in nums:
	total += item
	
print(str(minnum) + " " + str(maxnum) + " " + str(total))
Buggy python submission (verdict: Runtime Error):
h = 1
w = 1
while True:
	nums = list(map(int, input().split(" ")))
	if h == 0 and w == 0:
		break
	h = nums[0]
	w = nums[1]

	for i in range(h):
		for j in range(w):
			print("#", end="")
		print("")
	
	print("")


Fixed submission:
while True:
	nums = list(map(int, input().split(" ")))
	h = nums[0]
	w = nums[1]
	if h == 0 and w == 0:
		break

	for i in range(h):
		for j in range(w):
			print("#", end="")
		print("")
	
	print("")
Buggy python submission (verdict: Runtime Error):
print(x*x*x)


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


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

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


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

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


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