Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
def prim(n):
    d = [None] * 100
    p = [None] * 100
    color = [None] * 100
    
    for i in xrange(n):
        d[i] = float('inf')
        p[i] = -1
        color[i] = 0
    
    d[0] = 0
    
    while(true):
        minv = float('inf')
        u = -1
        for i in xrange(n):
            if minv > d[i] and color[i] != 2:
                u = i
                minv = d[i]
        
        if u == -1:
            break
        
        color[u] = 2
        
        for v in xrange(n):
            if color[v] != 2 and data[u][v] != float('inf'):
                if (d[v] > data[u][v]):
                    d[v] = data[u][v]
                    p[v] = u
                    color[v] = 1
    
    sum_val = 0
    for i in xrange(n):
        if p[i] != -1:
            sum_val += data[i][p[i]]
    
    return sum_val
    
n = input()
data = [None] * n
for i in xrange(n):
    data[i] = [None] * n
    line = map(int, raw_input().split())
    for j in xrange(n):
        if line[j] == -1:
            data[i][j] = float('inf')
        else:
            data[i][j] = line[j];
print prim(n)

    

Fixed submission:
def prim(n):
    d = [None] * 100
    p = [None] * 100
    color = [None] * 100
    
    for i in xrange(n):
        d[i] = float('inf')
        p[i] = -1
        color[i] = 0
    
    d[0] = 0
    
    while(True):
        minv = float('inf')
        u = -1
        for i in xrange(n):
            if minv > d[i] and color[i] != 2:
                u = i
                minv = d[i]
        
        if u == -1:
            break
        
        color[u] = 2
        
        for v in xrange(n):
            if color[v] != 2 and data[u][v] != float('inf'):
                if (d[v] > data[u][v]):
                    d[v] = data[u][v]
                    p[v] = u
                    color[v] = 1
    
    sum_val = 0
    for i in xrange(n):
        if p[i] != -1:
            sum_val += data[i][p[i]]
    
    return sum_val
    
n = input()
data = [None] * n
for i in xrange(n):
    data[i] = [None] * n
    line = map(int, raw_input().split())
    for j in xrange(n):
        if line[j] == -1:
            data[i][j] = float('inf')
        else:
            data[i][j] = line[j];
print prim(n)
Buggy python submission (verdict: Time Limit Exceeded):
#Reference : http://qiita.com/lethe2211/items/6cbade2bc547649bc040
n = input()

R = []
for i in range(n):
    R.append(input())
gain_list = []
for i in range(n):
    gain_list.append(-pow(10, 9))

start_point = 0
peak = 0

while (start_point < n - 1):
    for i in range(start_point + 1, n):
         diff = R[i] - R[start_point]
         if (diff >= gain_list[start_point]):
             gain_list[start_point] = diff
             peak = i
    for i in range(start_point, peak):
        gain_list[i] = R[peak] - R[i]
    start_point = peak

print max(gain_list)

Fixed submission:
#Reference : http://qiita.com/lethe2211/items/6cbade2bc547649bc040
#Reference : http://judge.u-aizu.ac.jp/onlinejudge/commentary.jsp?id=ALDS1_1_D
n = input()

R = []
for i in range(n):
    R.append(input())

min_v = R[0]
max_v = -pow(10, 9)
for i in range(1, n):
    temp = R[i] - min_v
    if (temp >= max_v):
        max_v = temp
    temp = R[i]
    if (min_v >= temp):
        min_v = temp
print max_v

Buggy python submission (verdict: Time Limit Exceeded):
#Reference : http://qiita.com/lethe2211/items/6cbade2bc547649bc040
n = input()

R = []
for i in range(n):
    R.append(input())

start_point = 0
peak = 0
max_diff = -pow(10, 9)

while (start_point < n - 1):
    diff = -pow(10, 9)
    for i in range(start_point + 1, n):
         diff_temp = R[i] - R[start_point]
         if (diff_temp >= diff):
             diff = diff_temp
             peak = i
    for i in range(start_point, peak):
        diff_temp = R[peak] - R[i]
        if (diff_temp > max_diff):
            max_diff = diff_temp
    start_point = peak

print max_diff

Fixed submission:
#Reference : http://qiita.com/lethe2211/items/6cbade2bc547649bc040
#Reference : http://judge.u-aizu.ac.jp/onlinejudge/commentary.jsp?id=ALDS1_1_D
n = input()

R = []
for i in range(n):
    R.append(input())

min_v = R[0]
max_v = -pow(10, 9)
for i in range(1, n):
    temp = R[i] - min_v
    if (temp >= max_v):
        max_v = temp
    temp = R[i]
    if (min_v >= temp):
        min_v = temp
print max_v
Buggy python submission (verdict: Runtime Error):
print "%d" % (x * x * x)

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

Buggy python submission (verdict: Runtime Error):
input (x)
print '%d' % (x * x * x)

Fixed submission:
x = input ()
cube_x = x * x * x
print cube_x
Buggy python submission (verdict: Runtime Error):
while True
    a, b = map(int, raw_input().split())
    if a == 0 and b == 0:
        break
    if a < b:
        print '%s %s' % (b, a)
    else:
        print '%s %s' % (a, b)

Fixed submission:
while True:
    a, b = map(int, raw_input().split())
    if a == 0 and b == 0:
        break
    if a > b:
        print '%s %s' % (b, a)
    else:
        print '%s %s' % (a, b)
Buggy python submission (verdict: Runtime Error):
n = input()
A = map(int,raw_input().split())
q = input()
M = map(int,raw_input().split())

def tansaku(Mi,i):
    if Mi == 0: return True
    if i < n and min(A[i:] <= Mi <= sum(A[i:]):
        r1 = tansaku(Mi-A[i],i+1) #Mi-A[i] == 0 ????????°???True
        if r1: return r1
        r2 = tansaku(Mi,i+1)
        if r2: return r2
        
for Mi in M:
    print "yes" if solve(Mi,0) else "no"

Fixed submission:

def solve(Mi,i):
    if Mi == 0: return True
    if i < n and min(A[i:]) <= Mi <= sum(A[i:]):
        r1 = solve(Mi-A[i],i+1)
        if r1: return r1
        r2 = solve(Mi,i+1)
        if r2: return r2
n = input()
A = map(int,raw_input().split())
q = input()
M = map(int,raw_input().split())
for Mi in M:
    print "yes" if solve(Mi,0) else "no"
Buggy python submission (verdict: Runtime Error):
import math

def koch(n, x1, y1, x2, y2):
    if n == 0:
        return
  
    angle = math.radians(60)
  
    sx = (2*x1 + x2)/3
    sy = (2*y1 + y2)/3
    tx = (2*x2 + x1)/3
    ty = (2*y2 + y1)/3
    ux = (tx - sx)*math.cos(angle) - (ty - sy)*math.sin(angle) + sx
    uy = (tx - sx)*math.sin(angle) + (ty - sy)*math.cos(angle) + sy
  
    koch(n-1, x1, y1, sx, sy)
    print sx, sy
    koch(n-1, sx, sy, ux, uy)
    print ux, uy
    koch(n-1, ux, uy, tx, ty)
    print tx, ty
    koch(n-1, tx, ty, x2, y2)
  
n = input()
  
p1x = 0.0
p1y = 0.0
p2x = 100.0
p2y = 0.0
  
print p1x, p1y
kock(n, p1x, p1y, p2x, p2y)
print p2x, p2y

Fixed submission:
import math
 
def koch(n, x1, y1, x2, y2):
    if n == 0:
        return
   
    angle = math.radians(60)
   
    sx = (2*x1 + x2)/3
    sy = (2*y1 + y2)/3
    tx = (2*x2 + x1)/3
    ty = (2*y2 + y1)/3
    ux = (tx - sx)*math.cos(angle) - (ty - sy)*math.sin(angle) + sx
    uy = (tx - sx)*math.sin(angle) + (ty - sy)*math.cos(angle) + sy
   
    koch(n-1, x1, y1, sx, sy)
    print sx, sy
    koch(n-1, sx, sy, ux, uy)
    print ux, uy
    koch(n-1, ux, uy, tx, ty)
    print tx, ty
    koch(n-1, tx, ty, x2, y2)
   
n = input()
   
p1x = 0.0
p1y = 0.0
p2x = 100.0
p2y = 0.0
   
print p1x, p1y
koch(n, p1x, p1y, p2x, p2y)
print p2x, p2y
Buggy python submission (verdict: Runtime Error):
print x*x*x

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

Buggy python submission (verdict: Runtime Error):
def x_cube :
  A = x*x*x
  print A 

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

Fixed submission:
n = int(raw_input())

print n**3

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

Fixed submission:
n = int(raw_input())

print n**3

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

Fixed submission:
n = int(raw_input())

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

print x*y ,
print 2*x+2*y

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

print '{0} {1}'.format(a*b, 2*a + 2*b)

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

print x*y ,
print 2*x+2*y

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

print '{0} {1}'.format(a*b, 2*a + 2*b)
Buggy python submission (verdict: Runtime Error):
a, b = int(raw_input().split())

if a > b:
  print "a > b"
elif a < b:
  print "a < b"
else:
  print "a == b"

Fixed submission:
a, b = map(int, raw_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 = int(raw_input().split())

if a > b:
  print "a > b"
elif a < b:
  print "a < b"
else:
  print "a == b"

Fixed submission:
a, b = map(int, raw_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 = int(raw_input().split())

if a > b:
    print "a > b"
elif a < b:
    print "a < b"
else:
    print "a == b"

Fixed submission:
a, b = map(int, raw_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 = int(raw_input().split())

if a > b:
    print 'a > b'
elif a < b:
    print 'a < b'
else:
    print 'a == b'

Fixed submission:
a, b = map(int, raw_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, raw_input().split())

if a == b:
  print 'a == b'
elif a < b:
  print 'a < b'
else a > b:
  print 'a > b'

Fixed submission:
a, b = map(int, raw_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, raw_input().split())

if a > b and b > c:
  return "yes"
else:
  return "no"

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

if a < b and b < c:
  print 'Yes'
else:
  print 'No'

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

if a < b < c:
  print 'Yes'
else:
  print 'No'

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

if a < b and b < c:
  print 'Yes'
else:
  print 'No'

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

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

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

if a < b and b < c:
  print 'Yes'
else:
  print 'No'

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

if a < b and b < c:
  print 'Yes'
else:
  print 'No'

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

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

if b < c:
  temp = b
  b = c
  c = temp
if a < b:
  temp = a
  a = b
  b = temp

print '{0} {1} {2}'.format(a, b, c)

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

x.sort()

print '{0} {1} {2}'.format(x[0], x[1], x[2])
Buggy python submission (verdict: Runtime Error):
while 1:
  x = int(raw_innput())
  if x ~= 0:
    print 'Case i: {0}'.format(x)
  else:
    break

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
while 1:
  x = int(raw_input())
  if x ~= 0:
    print 'Case i: {0}'.format(x)
  else:
    break

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
count = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count++, x)

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
count = 1
while(1):
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count++

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count++, x)

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count += 1+, x)

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1

Buggy python submission (verdict: Runtime Error):
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count += 1, x)

Fixed submission:
count = 1
while 1:
  x = int(raw_input())
  if x == 0:
    break
  print 'Case {0}: {1}'.format(count, x)
  count += 1
Buggy python submission (verdict: Runtime Error):
while 1:
  if x == 0 and y == 0:
    break
  else:
    if x > y:
      temp = x
      x = y
      y = temp
  print '{0} {1}'.format(x, y)

Fixed submission:
while 1:
  x = map(int, raw_input().split())
  if x[0] == 0 and x[1] == 0:
    break
  x.sort()
  print "%d %d" % (x[0], x[1])

Buggy python submission (verdict: Runtime Error):
while 1:
  x = map(int, raw_input().split())
  if x == 0:
    break
  x.sort()
  print x[0] + ' ' + x[1]

Fixed submission:
while 1:
  x = map(int, raw_input().split())
  if x[0] == 0 and x[1] == 0:
    break
  x.sort()
  print "%d %d" % (x[0], x[1])

Buggy python submission (verdict: Runtime Error):
while 1:
  x = map(int, raw_input().split())
  if x == 0:
    break
  x.sort()
  print "%d %d" % (x[0], x[1])

Fixed submission:
while 1:
  x = map(int, raw_input().split())
  if x[0] == 0 and x[1] == 0:
    break
  x.sort()
  print "%d %d" % (x[0], x[1])
Buggy python submission (verdict: Runtime Error):
import math
r = int(raw_input())

print '%f %f' %(r*r*math.pi, 2*r*math.pi)

Fixed submission:
import math
r = float(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)

Buggy python submission (verdict: Runtime Error):
import math
r = int(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '{0} {1}'.format(V, S)

Fixed submission:
import math
r = float(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)

Buggy python submission (verdict: Runtime Error):
import math
r = int(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)

Fixed submission:
import math
r = float(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)

Buggy python submission (verdict: Runtime Error):
import math
r = int(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)

Fixed submission:
import math
r = float(raw_input())
V = r*r*math.pi
S = 2*r*math.pi

print '%f %f' %(V, S)
Buggy python submission (verdict: Runtime Error):
while 1:
    if H ==0 and W == 0:
        break
    else:
        H, W = map(int ,raw_input().split())

        a = ""

        for i in range(W):
            a += '#'
        for i in range(H):
            print a

Fixed submission:
while 1:
    H, W = map(int ,raw_input().split())
    if H == 0 and W == 0:
        break
    else:
        print ('#'*W + '\n')*H
Buggy python submission (verdict: Runtime Error):
while 1;


  H, W = map(int, raw_input().split())
  s = ""

  if H == 0 and W == 0:
    break

  for i in range(H):
    for j in range(W):
      if i%2 == 0:
        if j%2 == 0:
          s = s + "#"
        else:
          s = s + "."
      else:
        if j%2 == 0:
          s = s + "."
        else:
          s = s + "#"
    print s
    s = ""

Fixed submission:
while 1:
  H, W = map(int, raw_input().split())
  s = ""

  if H == 0 and W == 0:
    break

  for i in range(H):
    for j in range(W):
      if i%2 == 0:
        if j%2 == 0:
          s = s + "#"
        else:
          s = s + "."
      else:
        if j%2 == 0:
          s = s + "."
        else:
          s = s + "#"
    print s
    s = ""
  print ""
Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
s = ''

for i in range(1, n+1):
    if i%3 == 0:
        s = s + ' ' + str(i)
    elif i%10 == 3:
        s = s + ' ' + srt(i)
print s

Fixed submission:
n = int(raw_input())
i = 1
print "",

while i <= n:
  if i%3 == 0:
      print i,
  else:
      I = str(i)
      for j in range(len(I)):
          if I[j] == '3':
              print I,
              break
  i += 1
Buggy python submission (verdict: Runtime Error):
s = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
    n = int(input())
    for i in range(n):
        b, f, r, v = map(int, raw_input().split())
        s[b-1][f-1][r-1] += v
 
    for b in range(4):
        for f in range(3):
            print(" " + " ".join(map(str, s[b][f])))
        if b != 3:
            print("#"*20)

Fixed submission:
n = int(raw_input())
ans = ""

room = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
for i in range(n):
    b, f, r, v = map(int, raw_input().split())
    room[b-1][f-1][r-1] += v
    
for i in range(4):
    for j in range(3):
        for k in range(10):
            ans += " %d" % (room[i][j][k])
        print ans
        ans = ""
    if i != 3:
        print "#"*20
Buggy python submission (verdict: Runtime Error):
count = [0 for i in range(26)]
while(1):
    try:
        str = str(raw_input().lower())
    except EOFError:
            break
    
    for i in range(len(str)):
        k = 97
        for j in range(26):
            if str[i] == chr(k):
                count[j] += 1
            k += 1

k = 97
for i in range(26):
    print "%s : %d" % (chr(k), count[i])
    k += 1
            

Fixed submission:
count = [0 for i in range(26)]
while(1):
    try:
        str = raw_input().lower()
    except EOFError:
            break
    
    for i in range(len(str)):
        k = 97
        for j in range(26):
            if str[i] == chr(k):
                count[j] += 1
            k += 1

k = 97
for i in range(26):
    print "%s : %d" % (chr(k), count[i])
    k += 1
Buggy python submission (verdict: Runtime Error):
x,y = map(int,raw_input().strip().split(' '))
follow = [[] for i in range(n)]
for i in range(y):
    h,c = map(int,raw_input().strip().split(' '))
    follow[h].append(c)
    follow[c].append(h)
 
color = {}
u = 0

for i in range(n):
    if not i in color:
        que = [i]
        color[i] = u
        while len(que) > 0:
            u = que[0]
            for v in follow[u]:
                if not v in color:
                    color[v] = u
                    que.append(v)
            del que[0]
        u += 1
 
 
q = int(raw_input())
for i in range(q):
    h,c = map(int,raw_input().strip().split(' '))
    if color[h] == color[c]:
        print 'yes'
    else:
        print 'no'

Fixed submission:
x,y = map(int,raw_input().strip().split(' '))
follow = [[] for i in range(x)]
for i in range(y):
    s,t = map(int,raw_input().strip().split(' '))
    follow[s].append(t)
    follow[t].append(s)
 
color = {}
c = 0

for i in range(x):
    if not i in color:
        que = [i]
        color[i] = c
        while len(que) > 0:
            u = que[0]
            for v in follow[u]:
                if not v in color:
                    color[v] = c
                    que.append(v)
            del que[0]
        c += 1
 
 
q = int(raw_input())
for i in range(q):
    s,t = map(int,raw_input().strip().split(' '))
    if color[s] == color[t]:
        print 'yes'
    else:
        print 'no'

Buggy python submission (verdict: Runtime Error):
x,y = map(int,raw_input().strip().split(' '))
follow = [[] for i in range(n)]
for i in range(y):
    h,c = map(int,raw_input().strip().split(' '))
    follow[h].append(c)
    follow[c].append(h)
 
color = {}
u = 0

for i in range(x):
    if not i in color:
        que = [i]
        color[i] = u
        while len(que) > 0:
            u = que[0]
            for v in follow[u]:
                if not v in color:
                    color[v] = u
                    que.append(v)
            del que[0]
        u += 1
 
 
q = int(raw_input())
for i in range(q):
    h,c = map(int,raw_input().strip().split(' '))
    if color[h] == color[c]:
        print 'yes'
    else:
        print 'no'

Fixed submission:
x,y = map(int,raw_input().strip().split(' '))
follow = [[] for i in range(x)]
for i in range(y):
    s,t = map(int,raw_input().strip().split(' '))
    follow[s].append(t)
    follow[t].append(s)
 
color = {}
c = 0

for i in range(x):
    if not i in color:
        que = [i]
        color[i] = c
        while len(que) > 0:
            u = que[0]
            for v in follow[u]:
                if not v in color:
                    color[v] = c
                    que.append(v)
            del que[0]
        c += 1
 
 
q = int(raw_input())
for i in range(q):
    s,t = map(int,raw_input().strip().split(' '))
    if color[s] == color[t]:
        print 'yes'
    else:
        print 'no'
Buggy python submission (verdict: Runtime Error):
a=input()
b=input()

Fixed submission:
a,b=map(int, raw_input().split())
c=a*b 
d=2*(a+b)
print c,d

Buggy python submission (verdict: Runtime Error):
a=nums[0]
b=nums[1]
print a*b 2*(a+b)

Fixed submission:
a,b=map(int, raw_input().split())
c=a*b 
d=2*(a+b)
print c,d
Buggy python submission (verdict: Runtime Error):
s=input()
m=(s-s%60)/60
s=s%60
h=(m-m%60)/60
m=m%60
print h:m:s

Fixed submission:
t=input()
h=t/3600
m=(t%3600)/60
s=t%60

print "%d:%d:%d" %(h,m,s)

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

h=t/3600
m=(t-h*3600)/60
s=t-h*3600-m*60
print %d:%d:%d % (h,m,s)

Fixed submission:
t=input()
h=t/3600
m=(t%3600)/60
s=t%60

print "%d:%d:%d" %(h,m,s)
Buggy python submission (verdict: Runtime Error):
a, b = map(int, raw_input().split())

if(a > b):
 print 'a > b'
if(a = b):
 print 'a == b'
if(a < b);
 print 'a < b'

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

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

if(a > b):
 print 'a > b'
if(a = b):
 print 'a == b'
if(a < b):
 print 'a < b'

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

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

if(a > b):
 print 'a > b'
if(a = b):
 print 'a == b'
if(a < b):
 print 'a < b'

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

i = 0
while True
 x = raw_input()
 if x == '0':
  break
 print 'Case %s: %s' %(sum, x)
 i+=1

Fixed submission:
i = 0
while 1:
    i+=1
    x = raw_input()
    if x == '0':
       break
    print ('Case {}: {}'.format(i,x))

Buggy python submission (verdict: Runtime Error):

i = 0
while 1:
 x = raw_input()
 i+=1
 if x == '0':
  break
 print ('Case {}: {}'.format(i,v))
 

Fixed submission:
i = 0
while 1:
    i+=1
    x = raw_input()
    if x == '0':
       break
    print ('Case {}: {}'.format(i,x))

Buggy python submission (verdict: Runtime Error):
i = 0
while 1:
    i+=1
    x = raw_input()
    if x == '0':
       break
    print ('Case {}: {}'.format(i,v))

Fixed submission:
i = 0
while 1:
    i+=1
    x = raw_input()
    if x == '0':
       break
    print ('Case {}: {}'.format(i,x))