Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
# (c) midandfeed
import math
r = int(input())
print("{0:.6f} {0:.6f}".format( math.pi*(pow(r,2)), math.pi*(2*r) ))

Fixed submission:
# (c) midandfeed
import math
r = float(input())
area = math.pi * (pow(r,2))
circ = math.pi * 2 * r
print("{} {}".format(area, circ))
Buggy python submission (verdict: Runtime Error):
# (c) midandfeed
r, c = [int(x) for x in input().split()]
q = []
sumr = [0]*c
tempr = 0
for i in range(r):
	col = [int(x) for x in input().split()]
	for j in range(c):
		sumr[j] += col[j]
	col.append(sum(col))
	q.append(col)
sumr.append(sum(sumr))
q.append(sumr)
for i in range(r+1):
	for j in range(c+1):
		print(q[i], end='')
		if (i != (r+1))
			print(' ', end='')
	print()

Fixed submission:
# (c) midandfeed
r, c = [int(x) for x in input().split()]
q = []
sumr = [0]*c
tempr = 0
for i in range(r):
	col = [int(x) for x in input().split()]
	for j in range(c):
		sumr[j] += col[j]
	col.append(sum(col))
	q.append(col)
sumr.append(sum(sumr))
q.append(sumr)
for i in range(r+1):
	for j in range(c+1):
		print(q[i][j], end='')
		if (j != (c)):
			print(' ', end='')
	# if (i != (r) ):
	print()
Buggy python submission (verdict: Runtime Error):
# Belongs to : midandfeed aka asilentvoice
while(1):
	n = str(input())
	
	if n:
		ans = 0
		for x in n:
			ans += int(x)
		print(ans)
	else:
		break

Fixed submission:
# Belongs to : midandfeed aka asilentvoice
while(1):
	n = str(input())
	
	if n != '0':
		ans = 0
		for x in n:
			ans += int(x)
		print(ans)
	else:
		break
Buggy python submission (verdict: Runtime Error):
x = int(input())
y = int(input())

print(x*y)

Fixed submission:
a,b = map(int, input().split())

print(a*b,a*2+b*2)

Buggy python submission (verdict: Runtime Error):
x,y = int(input())

print(x*y,x*2+y*2)

Fixed submission:
a,b = map(int, input().split())

print(a*b,a*2+b*2)

Buggy python submission (verdict: Runtime Error):
x = int(input())
y = int(input())

print(x*y,x*2+y*2)

Fixed submission:
a,b = map(int, input().split())

print(a*b,a*2+b*2)

Buggy python submission (verdict: Runtime Error):
x = input()
y = input()

int(x,y)

print(x*y,x*2+y*2)

Fixed submission:
a,b = map(int, input().split())

print(a*b,a*2+b*2)

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

int(a,b)

print(a*b,a*2+b*2)

Fixed submission:
a,b = map(int, input().split())

print(a*b,a*2+b*2)

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

print(a*b,a*2+b*2)

Fixed submission:
a,b = map(int, input().split())

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

h = str(S//3600)
M = S%3600

m = str(M//60)

s = str(M%60)
print(h+":"0+m+":"+s)

Fixed submission:
S = int(input())

h = str(S//3600)
M = S%3600

m = str(M//60)

s = str(M%60)
print(h+":"+m+":"+s)
Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
		x = b
		y = c
		x = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z) 

Fixed submission:
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
	x = b
	y = c
	z = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z)

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
	x = b
	y = c
	x = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z) 

Fixed submission:
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
	x = b
	y = c
	z = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z)

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
	x = b
	y = c
	x = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z) 

Fixed submission:
a, b, c = map(int, input().split())

if a < b:
	if a < c:
		x = a
		if b < c:
			y = b
			z = c
		else:
			y = c
			z = b
	else:
		x = c
		y = a
		z = b
elif a < c:
	 	x = b
	 	y = a
	 	z = c
elif b < c:
	x = b
	y = c
	z = a
else:
	x = c
	y = b
	z = a
	
print(x, y, z)
Buggy python submission (verdict: Runtime Error):
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readlists()
	i = 0
	while x[i] != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1
		

Fixed submission:
#x = []
i = 0
while True:
	x = int(input())
	if x == 0:
		break
	print("Case " + str(i+1) + ": " + str(x))
	i += 1

Buggy python submission (verdict: Runtime Error):
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readlines()
	i = 0
	while x[i] != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1
		

Fixed submission:
#x = []
i = 0
while True:
	x = int(input())
	if x == 0:
		break
	print("Case " + str(i+1) + ": " + str(x))
	i += 1

Buggy python submission (verdict: Runtime Error):
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readline()
	i = 0
	while x != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1
		x = f.readline()

Fixed submission:
#x = []
i = 0
while True:
	x = int(input())
	if x == 0:
		break
	print("Case " + str(i+1) + ": " + str(x))
	i += 1
Buggy python submission (verdict: Runtime Error):
n = int(input())
i = 0

x = map(int, input().split())

mx = max(x)
mn = min(x)
sum = 0

while i < n:
    sum = sum + x[i]
    i += 1
    
print(mn, mx, sum)

Fixed submission:
n = int(input())
i = 0

x = list(map(int, input().split()))

mx = max(x)
mn = min(x)
sum = 0

while i < n:
    sum = sum + x[i]
    i += 1
    
print(mn, mx, sum)
Buggy python submission (verdict: Runtime Error):
#3????????°??¨10??§?????£????????????3??????????????????print?????????
#???????????????????????§??????????????????????????????
#???????????°????????\????????¨???????????????
#??????????????¨????????????????????¶??§???????????°????????????????????????????????????
#3????????°?????????3?¶?????????°?????\??????????¶?????????°?????????????????????????????§??????
#?????????????????????
#?????????10??§?????£????????????3??????????????????????????????????????????
#??\??????????????§??????????????????3?????¨?????????????????????????????????
#????????????????????¨21??§???????????????????????????
#????????????????????¨3?????¨?????¨????????????????????\??£???????????????
x = int(input())
i = 1
print(" ", end="")
while i <= x:
    
    if (i % 3) == 0:
        if (i + 3) <= x:
            print(i, end=" ")
        elif x > 3 and (x % 10) == 3:
            print(i, end=" ")
        else:
            print(i)
      
    elif (i % 10) == 3:
        if i != x:
            print(i, eqnd=" ")
        else:
            print(i)
    
    i += 1

Fixed submission:
#????????§???????????????????????????????????????????????????????????¨???????????¨???????????????
#0????????£????????????????????????????????????
#?????????????????¨??¶???????°??????????
#????????????
#??????????????¢??°??????????????????????????????????????????????????????????????????????????\????????????????????????print??????????????????????????????????????????
#?????????????????????????????????????????????3????????°????¢???????????????£??????????????????????????????????????????????????????????????????
#?????????????????????
#?????????????????????????????????????????°???????????????????????????????????????????????¨?????????
#??????????????????????????¨??£????????????????????????????????????????¶??????????
x = int(input())

    
i = 1
y = i
n = []

#10??§?????£???3????????????3?????????????????????????????????????????????10??§???????¶???????1???????????§?¶???????
while i <= x:
    if y % 10 == 3 or y / 3 == 1:
        n.append(i)
        i += 1
        y = i
    else:
        y //= 10
        if y == 0:
            #?????????3????????°????????§??????????????????????????????
            if i % 3 == 0:
                n.append(i)
                i += 1
                y = i
            else:
                i += 1
                y = i
                
print("", end=" ")

i = 0
while i < int(len(n))-1:
    print(n[i], end=" ")
    i += 1
    
print(n[i])
#print("end")
Buggy python submission (verdict: Runtime Error):
N = input()
a = [input() for i in range(N)]

while i > 0:
    print(a[i], end=" ")
    i -= 1
else:
    print(a[i])

Fixed submission:
N = int(input())
a = list(map(int, input().split()))
i = int(len(a)) - 1
while i > 0:
    print(a[i], end=" ")
    i -= 1
else:
    print(a[0])

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

while i > 0:
    print(a[i], end=" ")
    i -= 1
else:
    print(a[i])

Fixed submission:
N = int(input())
a = list(map(int, input().split()))
i = int(len(a)) - 1
while i > 0:
    print(a[i], end=" ")
    i -= 1
else:
    print(a[0])
Buggy python submission (verdict: Runtime Error):
'''
1 1 1
2 2 2
1
2
3
とあったら、1*1+1*2+1*3
          2*1+2*2+2*3
みたいな感じ。
'''

from operator import add
from functools import reduce

#テスト値
n = int(input())
m = int(input())
#a = [[1,1,1],[2,2,2]]
#b = [1,2,3]

a = [list(map(int, input().split())) for n in range(n)]
#print(a)

b = [int(input()) for n in range(m)]
#print(b)

#ベクトル積の計算。
#まず行ごとの値を計算。
c = []
for n in range(n):
    c.append([a[n][m]*b[m] for m in range(m)])
    
#print(c)#ここまでOK。

d=[reduce(add,c[n]) for n in range(len(c))]



#print(d)

[print(d[i]) for i in range(len(d))]



Fixed submission:
'''
1 1 1
2 2 2
1
2
3
とあったら、1*1+1*2+1*3
          2*1+2*2+2*3
みたいな感じ。
'''

from operator import add
from functools import reduce

#テスト値
n,m = map(int,input().split())
#a = [[1,1,1],[2,2,2]]
#b = [1,2,3]

a = [list(map(int, input().split())) for n in range(n)]
#print(a)

b = [int(input()) for n in range(m)]
#print(b)

#ベクトル積の計算。
#まず行ごとの値を計算。
c = []
for n in range(n):
    c.append([a[n][m]*b[m] for m in range(m)])
    
#print(c)#ここまでOK。

d=[reduce(add,c[n]) for n in range(len(c))]



#print(d)

[print(d[i]) for i in range(len(d))]
Buggy python submission (verdict: Runtime Error):
from operator import add
from functools import reduce

r,c = map(int,input().split())

x = [list(map(int, input().split())) for i in range(r)]


import numpy as np


#x=[[3,4,5],[1,2,3]]
a=np.array(x)
#print(a)
b=reduce(add, a)
#print(b)
b=list(b)

#x=list(x[1])
x.append(b)

#print(x)

for i in range(len(x)):
    y = reduce(add,x[i])
    x[i].append(y)
    
    
z = [list(map(str,x[i])) for i in range(len(x))]

#print(z)

w = [' '.join(z[i]) for i in range(len(x))]

[print(w[i]) for i in range(len(w))]



Fixed submission:
from operator import add
from functools import reduce

r,c = map(int,input().split())

x = [list(map(int, input().split())) for i in range(r)]


#import numpy as np


#x=[[3,4,5],[1,2,3]]
#a=np.array(x)
#print(a)
#b=reduce(add, a)
#print(b)
#b=list(b)

#x=list(x[1])
#x.append(b)

#print(x)


b = []

for j in range(c):
    a = [x[i][j] for i in range(len(x))]
    b.append(reduce(add,a))

#print(b)

x.append(b)

for i in range(len(x)):
    y = reduce(add,x[i])
    x[i].append(y)
    
    
z = [list(map(str,x[i])) for i in range(len(x))]

#print(z)
#print(z)

w = [' '.join(z[i]) for i in range(len(x))]

[print(w[i]) for i in range(len(w))]
Buggy python submission (verdict: Runtime Error):
n, m, l = map(int,input().split())

x = []
y = []

for i in range(n):
    a = list(map(int,input().split()))
    x.append(a)
    
for i in range(m):
    b = list(map(int,input().split()))
    y.append(b)

#print(x)
a = 0
b = []
ans = []

for i in range(3):
    for j in range(3):
        for k in range(2):
            a += x[i][k]*y[k][j]
        #print(a)
        b.append(a)
        a = 0
    b = list(map(str, b))
    b = ' '.join(b)
    ans.append(b)
    b = []
        
[print(ans[i]) for i in range(len(ans))]


Fixed submission:
n, m, l = map(int,input().split())

x = []
y = []

for i in range(n):
    a = list(map(int,input().split()))
    x.append(a)
    
for i in range(m):
    b = list(map(int,input().split()))
    y.append(b)

#print(x)
a = 0
b = []
ans = []

for i in range(n):
    for j in range(l):
        for k in range(m):
            a += x[i][k]*y[k][j]
        #print(a)
        b.append(a)
        a = 0
    b = list(map(str, b))
    b = ' '.join(b)
    ans.append(b)
    b = []
        
[print(ans[i]) for i in range(len(ans))]

Buggy python submission (verdict: Runtime Error):
n, m, l = map(int,input().split())

x = []
y = []

for i in range(n):
    a = list(map(int,input().split()))
    x.append(a)
    
for i in range(m):
    b = list(map(int,input().split()))
    y.append(b)

#print(x)
a = 0
b = []
ans = []

for i in range(n):
    for j in range(m):
        for k in range(l):
            a += x[i][k]*y[k][j]
        #print(a)
        b.append(a)
        a = 0
    b = list(map(str, b))
    b = ' '.join(b)
    ans.append(b)
    b = []
        
[print(ans[i]) for i in range(len(ans))]


Fixed submission:
n, m, l = map(int,input().split())

x = []
y = []

for i in range(n):
    a = list(map(int,input().split()))
    x.append(a)
    
for i in range(m):
    b = list(map(int,input().split()))
    y.append(b)

#print(x)
a = 0
b = []
ans = []

for i in range(n):
    for j in range(l):
        for k in range(m):
            a += x[i][k]*y[k][j]
        #print(a)
        b.append(a)
        a = 0
    b = list(map(str, b))
    b = ' '.join(b)
    ans.append(b)
    b = []
        
[print(ans[i]) for i in range(len(ans))]
Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())

print(str(a*b) + " " + str(2a + 2b))

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

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

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

Buggy python submission (verdict: Runtime Error):
z = int(input())
m,l = z.split()
print({} {}.format(m*l,m*2+l*2))

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

Buggy python submission (verdict: Runtime Error):
z = int(input())
m,l = z.split()
print({} {}.format(m*l,m*2+l*2))

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

Buggy python submission (verdict: Runtime Error):
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print({} {}.format(s,n))

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))

Buggy python submission (verdict: Runtime Error):
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print({} {}.format(str(s),str(n)))

Fixed submission:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))
Buggy python submission (verdict: Runtime Error):
S = input()
print(str(S//3600) + ":" + str(S%3600//60) + ":" str(S%3600%60))

Fixed submission:
S = int(input())
print(str(S//3600) + ":" + str(S%3600//60) + ":" + str(S%3600%60))
Buggy python submission (verdict: Runtime Error):
z = input()
a,b,c = z.split()

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

Fixed submission:
z = input()
a,b,c = z.split()

if int(a) < int(b) and int(b) < int(c):
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = input().split())

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

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = input().split()

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

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = input().split()

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

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r =map(int, input().split())

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

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
z =map(int, input().split())
W = z[0]
H  = z[1]
x  = z[2]
y =  z[3]
r = z[4]
if r =< x and x =< (W-r):
    if r =< y and y =< (H-r):
        print("Yes")
    else:
        print("No")
else:
    print("Yes")

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = input().split()

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

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

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

else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W,H,x,y,r = input().split()

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

else:
    print("No")

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

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

else:
    print("No")
Buggy python submission (verdict: Time Limit Exceeded):
import sys
cnt = 1
while True:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1

Fixed submission:
import sys
cnt = 1
while True:
    x = sys.stdin.readline().strip()
    if x == "0":
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1

Buggy python submission (verdict: Time Limit Exceeded):
import sys
cnt = 1
while 1:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1

Fixed submission:
import sys
cnt = 1
while True:
    x = sys.stdin.readline().strip()
    if x == "0":
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1
Buggy python submission (verdict: Runtime Error):
z = input()
a = list(map(int, z.split()))
print("{} {} {}"format(a[0] // a[1], a[0] % a[1], a[0] / a[1]))

Fixed submission:
z = input()
a = list(map(int, z.split()))
print("{} {} {:.5f}".format(a[0] // a[1], a[0] % a[1], a[0] / a[1]))
Buggy python submission (verdict: Runtime Error):
import sys
x = sys.stdin.readlines()
a = list(x[1].strip())
min_num = min(a)
max_num = max(a)
sum_num = sum(a)
print("{} {} {}".format(min_num, max_num, sum_num))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
import sys
x = sys.stdin.readlines()
a = list(map(int, x[1].strip()))
min_num = min(a)
max_num = max(a)
sum_num = sum(a)
print("{} {} {}".format(min_num, max_num, sum_num))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
import sys
x = sys.stdin.readlines()
line = x[1]
a = list(map(int, line.strip()))
min_num = min(a)
max_num = max(a)
sum_num = sum(a)
print("{} {} {}".format(min_num, max_num, sum_num))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
input()
A = list(map(int, input().split())
min_num = min(A)
max_num = max(A)
sum_num = sum(A)
print("{} {} {}".format(min_num, max_num, sum_num))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
input()
A = list(map(int, input().split())
print(min(A),max(A),sum(A))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
input()
A = list(map(int, input().split())
print(min(A),max(A),sum(A))

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
import numpy as np
input()
A = np.array([map(int, input().split())])
print(A.min() ,A.max() ,A.sum())

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))

Buggy python submission (verdict: Runtime Error):
import numpy as np
input()
A = np.array(map(list(int, input().split())))
print(A.min() ,A.max() ,A.sum())

Fixed submission:
input()
a = list(map(int, input().split()))
print(min(a) ,max(a) ,sum(a))
Buggy python submission (verdict: Runtime Error):
alpha = (chr(i) for i in range(97, 97+26))
l = []
while True:
    s = list(input().lower())
    if not s:
        break
    l += s
count = {a:l.count(a) for a in alpha}
for k in sorted(count):
    print('%c : %i' % (k, count[k]))

Fixed submission:
import sys
alpha = (chr(i) for i in range(97, 97+26))
l = []
for line in sys.stdin:
    l += line.lower()
count = {a:l.count(a) for a in alpha}
for k in sorted(count):
    print('%c : %i' % (k, count[k]))
Buggy python submission (verdict: Runtime Error):
x = int(input())

print x 

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

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

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