s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s947993673
p02396
u169794024
1498612605
Python
Python3
py
Runtime Error
0
0
77
i = 1 x=int(input()) if x==0: break print("case {0}: {1}".format(i,x)) i=+1
File "/tmp/tmpss5d0nw5/tmpomzlzk54.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop
s506140766
p02396
u169794024
1498612650
Python
Python3
py
Runtime Error
0
0
77
i = 1 x=int(input()) if x==0: break print("case {0}: {1}".format(i,x)) i+=1
File "/tmp/tmp9fxih174/tmpyso3c2ll.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop
s365800394
p02396
u169794024
1498612694
Python
Python3
py
Runtime Error
0
0
77
i = 1 x=int(input()) if x==0: break print("Case {0}: {1}".format(i,x)) i+=1
File "/tmp/tmp4pefynce/tmpnacy93nh.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop
s241350327
p02396
u818923713
1498716652
Python
Python3
py
Runtime Error
0
0
75
x = input() i = 1 while (x != 0): print("case{},{}".format(i,x)) i += 1
File "/tmp/tmp89pqz4ah/tmpq25z6gva.py", line 5 i += 1 IndentationError: unexpected indent
s443156775
p02396
u818923713
1498718003
Python
Python3
py
Runtime Error
0
0
108
i = 1 while True: x = int(input()) if x == 0: break print("Case {}: {}".format(i, n)) i += 1
Traceback (most recent call last): File "/tmp/tmpu54syppl/tmpg_8vn81b.py", line 3, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s448281994
p02396
u818923713
1498718106
Python
Python3
py
Runtime Error
0
0
108
i = 1 while True: x = int(input()) if x == 0: break print("Case {}: {}".format(i, n)) i += 1
Traceback (most recent call last): File "/tmp/tmpwhw6ch7w/tmpfyfo4bqf.py", line 3, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s199512072
p02396
u818923713
1498718151
Python
Python3
py
Runtime Error
0
0
112
i = 1 while True: x = int(input()) if x == 0: break print("Case {}: {}".format(i, n)) i += 1
File "/tmp/tmpmatyedqq/tmp_mqpjmgf.py", line 5 break ^ IndentationError: expected an indented block after 'if' statement on line 4
s365641203
p02396
u721221949
1498721676
Python
Python3
py
Runtime Error
0
0
69
x = int(input()) i = 1 while x != 0: print(Case i: x) i += 1
File "/tmp/tmp4dcx6bb_/tmpvpmvsz51.py", line 5 print(Case i: x) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s180925676
p02396
u721221949
1498721867
Python
Python
py
Runtime Error
0
0
64
x = input() i = 1 while x != 0: print(Case i: x) i += 1
File "/tmp/tmpq7epsry9/tmpji80wm9i.py", line 5 print(Case i: x) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s091684957
p02396
u721221949
1498721897
Python
Python3
py
Runtime Error
0
0
64
x = input() i = 1 while x != 0: print(Case i: x) i += 1
File "/tmp/tmpj6_smbjg/tmp40bu8ya8.py", line 5 print(Case i: x) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s632661952
p02396
u721221949
1498722020
Python
Python3
py
Runtime Error
0
0
80
x = int(input()) i = 1 while x != 0: print(Case i: int(input(x)) i += 1
File "/tmp/tmpwr_nob03/tmpb7g9mywt.py", line 5 print(Case i: int(input(x)) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s281729940
p02396
u818923713
1498722141
Python
Python3
py
Runtime Error
0
0
152
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break elif x <= y: print(x,y) else: print(y,x)
Traceback (most recent call last): File "/tmp/tmp0d92iz1n/tmpqaz2eqfr.py", line 2, in <module> x,y = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s964517519
p02396
u340500592
1498973962
Python
Python3
py
Runtime Error
0
0
141
dataset = map(int, input().split(\n)) for i in range(len(dataset)): if dataset[i] == 0: break else: print("Case %d: %d", i, dataset[i])
File "/tmp/tmptsqz6p89/tmpu9i09ntu.py", line 1 dataset = map(int, input().split(\n)) ^ SyntaxError: unexpected character after line continuation character
s410346740
p02396
u350064373
1499239880
Python
Python3
py
Runtime Error
0
0
89
count = 0 while True: x=input("") count+=1 print("Case ",str(count) + ":", x)
Traceback (most recent call last): File "/tmp/tmp7uxr1zlz/tmp6dpd0zn5.py", line 3, in <module> x=input("") ^^^^^^^^^ EOFError: EOF when reading a line
s948690629
p02396
u350064373
1499239970
Python
Python3
py
Runtime Error
0
0
88
count = 0 while True: x=input("") count+=1 print("Case",str(count) + ":", x)
Traceback (most recent call last): File "/tmp/tmp1q_m9if0/tmpxmt1ohcm.py", line 3, in <module> x=input("") ^^^^^^^^^ EOFError: EOF when reading a line
s615836648
p02396
u350064373
1499240487
Python
Python3
py
Runtime Error
0
0
121
count = 0 x=None while (x == 0) == False: x=input("") int(count) count+=1 print("Case",str(count)+":", x)
Traceback (most recent call last): File "/tmp/tmprwabzo3t/tmpjsbqlvfr.py", line 4, in <module> x=input("") ^^^^^^^^^ EOFError: EOF when reading a line
s762718435
p02396
u027278270
1499667564
Python
Python3
py
Runtime Error
0
0
69
x = int(input()) for i in range(10001): i += 1 print(Case i: x)
File "/tmp/tmp7be4zszl/tmpfyy1ce7k.py", line 4 print(Case i: x) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s188129181
p02396
u248424983
1499832675
Python
Python3
py
Runtime Error
0
0
121
import numpy as np A = np.array(input()) for i, val in numpy.ndenumerate(A): print('Case '+repr(i[0])+': '+repr(val))
Traceback (most recent call last): File "/tmp/tmpd7p2fqif/tmpz5135tpy.py", line 2, in <module> A = np.array(input()) ^^^^^^^ EOFError: EOF when reading a line
s977167650
p02396
u248424983
1499833025
Python
Python3
py
Runtime Error
0
0
164
import numpy as np A = np.array(input()) for i, val in numpy.ndenumerate(A): if val==0: break else: print('Case '+repr(i[0])+': '+repr(val))
Traceback (most recent call last): File "/tmp/tmpkmp8wh91/tmpr0b1vvoo.py", line 2, in <module> A = np.array(input()) ^^^^^^^ EOFError: EOF when reading a line
s935833378
p02396
u248424983
1499833331
Python
Python3
py
Runtime Error
0
0
166
import numpy as np A = np.array(input()) for i, val in numpy.ndenumerate(A): if val==0: break else: print('Case '+repr(i[0]+1)+': '+repr(val))
Traceback (most recent call last): File "/tmp/tmpekznrugn/tmpmmrsqdvj.py", line 2, in <module> A = np.array(input()) ^^^^^^^ EOFError: EOF when reading a line
s380832197
p02396
u248424983
1499836030
Python
Python3
py
Runtime Error
0
0
166
import sys [x.strip() for x in sys.stdin.readlines()] cnt=1 for i in x: if i==0: break else: print('Case '+repr(cnt)+': '+repr(i)) cnt+=1
File "/tmp/tmpx2ore3_h/tmpoie960t_.py", line 6 break TabError: inconsistent use of tabs and spaces in indentation
s352482219
p02396
u248424983
1499836765
Python
Python3
py
Runtime Error
0
0
174
import sys [x.strip() for x in sys.stdin.readlines()] cnt=1 for i in x: if i==0: break else: print('Case '+repr(cnt)+': '+repr(int(i))) cnt+=1
Traceback (most recent call last): File "/tmp/tmp6_cnelx8/tmphvcob01u.py", line 4, in <module> for i in x: ^ NameError: name 'x' is not defined
s257564283
p02396
u043639882
1500011470
Python
Python3
py
Runtime Error
0
0
85
import sys for line in sys.stdin: if line == 0: break print("Case" " " line ":" )
File "/tmp/tmpu0pxz58i/tmpv1r4xhz2.py", line 4 print("Case" " " line ":" ) ^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s819346017
p02396
u043639882
1500015865
Python
Python3
py
Runtime Error
0
0
145
import sys count = 1 While True: x = sys.stdin.readlie().atrip() if x == "0": break print("Case %d: %s" %(count,x)) count = count + 1
File "/tmp/tmp3_7j2av3/tmpx6s3ak30.py", line 3 While True: ^^^^ SyntaxError: invalid syntax
s119985798
p02396
u043639882
1500015998
Python
Python3
py
Runtime Error
0
0
146
import sys count = 1 While True: x = sys.stdin.readline().strip() if x == "0": break print("Case %d: %s" %(count,x)) count = count + 1
File "/tmp/tmp82mjludn/tmppe_xkn6f.py", line 3 While True: ^^^^ SyntaxError: invalid syntax
s904986595
p02396
u447009770
1500278906
Python
Python3
py
Runtime Error
0
0
98
n = int(input()) for i in range(n): if n[i] == 0: break print('case ',i+1, ': ', n[i], sep='')
Traceback (most recent call last): File "/tmp/tmpzvvsbb_6/tmp77fg7vs4.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s594918373
p02396
u447009770
1500279062
Python
Python3
py
Runtime Error
0
0
114
n= [] n = n.append(int(input())) for i in range(n): if n[i] == 0: break print('case ',i+1, ': ', n[i], sep='')
Traceback (most recent call last): File "/tmp/tmprz0xgs__/tmpfc07t7yk.py", line 2, in <module> n = n.append(int(input())) ^^^^^^^ EOFError: EOF when reading a line
s936360598
p02396
u498511622
1500299699
Python
Python3
py
Runtime Error
0
0
22
while True: input('')
Traceback (most recent call last): File "/tmp/tmpy31_a70p/tmp_u2dij_a.py", line 2, in <module> input('') EOFError: EOF when reading a line
s132038685
p02396
u350064373
1500300137
Python
Python3
py
Runtime Error
0
0
115
x = input("") count=1 while x != 0: print("Case",str(count)+":",x) count = int(count) + 1 x = input("")
Traceback (most recent call last): File "/tmp/tmpjwm5zjx1/tmptmq3auth.py", line 1, in <module> x = input("") ^^^^^^^^^ EOFError: EOF when reading a line
s259107276
p02396
u350064373
1500300332
Python
Python3
py
Runtime Error
0
0
134
x = input("") count = 1 while True: print("Case",str(count)+":",input("")) count = int(count) + 1 if x == 0: break
Traceback (most recent call last): File "/tmp/tmpyv01chwp/tmpzv0mexi7.py", line 1, in <module> x = input("") ^^^^^^^^^ EOFError: EOF when reading a line
s903459522
p02396
u350064373
1500300417
Python
Python3
py
Runtime Error
0
0
120
count = 1 while True: print("Case",str(count)+":",input("")) count = int(count) + 1 if x == 0: break
Traceback (most recent call last): File "/tmp/tmp6eodbz2h/tmprik7yf6i.py", line 3, in <module> print("Case",str(count)+":",input("")) ^^^^^^^^^ EOFError: EOF when reading a line
s301917411
p02396
u350064373
1500300510
Python
Python3
py
Runtime Error
0
0
130
count = 1 while True: x = input("") print("Case",str(count)+":",x) count = int(count) + 1 if x == 0: break
Traceback (most recent call last): File "/tmp/tmp4whc3nqc/tmpswofwyvf.py", line 3, in <module> x = input("") ^^^^^^^^^ EOFError: EOF when reading a line
s557020030
p02396
u350064373
1500301357
Python
Python3
py
Runtime Error
0
0
187
count = 1 t=[] while True: x = input("") if x == "0": break else: t.append("Case",str(count)+":",x) count = int(count) + 1 for i in t: print(t[i])
Traceback (most recent call last): File "/tmp/tmp3o_y87x3/tmpvhtutmup.py", line 4, in <module> x = input("") ^^^^^^^^^ EOFError: EOF when reading a line
s002320901
p02396
u027278270
1500427925
Python
Python3
py
Runtime Error
0
0
148
x = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i)+ ": " + str(x))
Traceback (most recent call last): File "/tmp/tmpbxehwu1f/tmpu2hao4ud.py", line 1, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s798880676
p02396
u027278270
1500428019
Python
Python3
py
Runtime Error
0
0
143
x = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i)+ ": " + x)
Traceback (most recent call last): File "/tmp/tmpkmgejtim/tmp2zj9akse.py", line 1, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s851264887
p02396
u027278270
1500430183
Python
Python3
py
Runtime Error
0
0
97
x = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i) + ": " + str(x[i]))
Traceback (most recent call last): File "/tmp/tmpc1nfys4x/tmpp28mi35j.py", line 1, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s556049963
p02396
u027278270
1500431140
Python
Python3
py
Runtime Error
0
0
103
list(x) = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i) + ": " + str(x[i]))
File "/tmp/tmpwq62_rql/tmpi8wq4v7u.py", line 1 list(x) = int(input()) ^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s725126326
p02396
u027278270
1500431203
Python
Python3
py
Runtime Error
0
0
97
x = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i) + ": " + str(x[i]))
Traceback (most recent call last): File "/tmp/tmpsz37gq_b/tmpy13s3qr3.py", line 1, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s439974767
p02396
u027278270
1500431280
Python
Python3
py
Runtime Error
0
0
99
x = int(input()) for i in range(len(x)): i += 1 print("Case "+ str(i) + ": " + str(x[i-1]))
Traceback (most recent call last): File "/tmp/tmpe5n989o5/tmpr0luwcue.py", line 1, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s403088426
p02396
u295538678
1500433749
Python
Python3
py
Runtime Error
0
0
135
x = [0 for i in range(1, 10000)] i = 0 while(1): x[i] = int(input()) if(x[i] == 0): exit() print('Case', i+1, ': ', x[i]) i += 1
Traceback (most recent call last): File "/tmp/tmp8ptue4cx/tmp53n0bc81.py", line 5, in <module> x[i] = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s547421101
p02396
u295538678
1500433778
Python
Python
py
Runtime Error
0
0
135
x = [0 for i in range(1, 10000)] i = 0 while(1): x[i] = int(input()) if(x[i] == 0): exit() print('Case', i+1, ': ', x[i]) i += 1
Traceback (most recent call last): File "/tmp/tmpl5oq77ss/tmp8c4304pl.py", line 5, in <module> x[i] = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s801444249
p02396
u295538678
1500433985
Python
Python3
py
Runtime Error
0
0
138
x = [0 for i in range(1, 10000)] i = 0 while(1): x[i] = int(input(), 0) if(x[i] == 0): exit() print('Case', i+1, ': ', x[i]) i += 1
Traceback (most recent call last): File "/tmp/tmp9dzz2kjl/tmplz_l03km.py", line 5, in <module> x[i] = int(input(), 0) ^^^^^^^ EOFError: EOF when reading a line
s096032884
p02396
u295538678
1500434167
Python
Python3
py
Runtime Error
0
0
196
x = [0 for i in range(10000)] i = 0 f = 0 while(f == 0): x[i] = int(input()) if(x[i] == 0): f = 1 i += 1 i = 0 while(f == 1): print('Case', i+1, ': ', x[i]) i += 1 if(x[i] == 0): f = 2
Traceback (most recent call last): File "/tmp/tmperyzrn3i/tmp_92zw0e1.py", line 5, in <module> x[i] = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s828369760
p02396
u295538678
1500434516
Python
Python3
py
Runtime Error
0
0
194
x = [0 for i in range(10000)] i = 0 f = 0 while(f == 0): x[i] = int(input()) if(x[i] == 0): f = 1 i += 1 i = 0 while(f == 1): print('Case', i+1, ':', x[i]) i += 1 if(x[i] == 0): f = 2
Traceback (most recent call last): File "/tmp/tmpheiwnpcd/tmp8jxmirs7.py", line 5, in <module> x[i] = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s495700271
p02396
u791170614
1501151192
Python
Python3
py
Runtime Error
0
0
146
a = [] while True: n = input() if n == 0: break a.append(n) for i in range(a): print("case " + str(i) + ": " + str(a[i]))
Traceback (most recent call last): File "/tmp/tmpx54z46ap/tmp0s_tskd5.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s092723147
p02396
u721103753
1501206677
Python
Python3
py
Runtime Error
0
0
101
num = 1 for i in int(input()): if i == 0: break print(f"Case {num}: {i}") num +=1
Traceback (most recent call last): File "/tmp/tmp4tjzg7ly/tmp5ks3fwlw.py", line 2, in <module> for i in int(input()): ^^^^^^^ EOFError: EOF when reading a line
s388931388
p02396
u721103753
1501206817
Python
Python3
py
Runtime Error
0
0
112
num = 1 for i in int(input()): if i == 0: break print("Case {0}: {1}".format(num,i)) num +=1
Traceback (most recent call last): File "/tmp/tmpyanv93j2/tmpc8k0y8kk.py", line 2, in <module> for i in int(input()): ^^^^^^^ EOFError: EOF when reading a line
s578294928
p02396
u467070262
1501600267
Python
Python3
py
Runtime Error
0
0
124
for i in range(1,100000000000) x = int(input()) if x == 0: break print("Case " + str(i) + ": " + str(x))
File "/tmp/tmpld4exuqu/tmpkktjrlo0.py", line 1 for i in range(1,100000000000) ^ SyntaxError: expected ':'
s167731145
p02396
u821624310
1502064956
Python
Python3
py
Runtime Error
0
0
118
x = 10000 i = 1 while x: x = input() if x == 0: break print("Case {}: {}".format(i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmpoufz1hhm/tmpayzuygi6.py", line 4, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s025275368
p02396
u433181015
1502174989
Python
Python3
py
Runtime Error
0
0
123
nums = [int(i) for i in input()] for j in range(1, 10000): print("Case j: {}".format(nums)) if nums == 0: break
File "/tmp/tmpx5o0hvim/tmpdxdzrwm_.py", line 5 break ^ IndentationError: expected an indented block after 'if' statement on line 4
s559532049
p02396
u744121389
1502403420
Python
Python3
py
Runtime Error
0
0
71
for i in range(10000) x= input() print("Case i: x) if x = 0: break
File "/tmp/tmpy_06673a/tmpjzdnr2mm.py", line 3 print("Case i: x) ^ SyntaxError: unterminated string literal (detected at line 3)
s008074050
p02396
u744121389
1502403637
Python
Python3
py
Runtime Error
0
0
72
x= input() for i in range(10000) print("Case i: x) if x = 0: break
File "/tmp/tmp727cl72w/tmpjihmti5a.py", line 5 print("Case i: x) ^ SyntaxError: unterminated string literal (detected at line 5)
s297357625
p02396
u744121389
1502407245
Python
Python3
py
Runtime Error
0
0
92
x= input() for i in range(10000) print("Case i: x) if x = 0: ?????????????????????break
File "/tmp/tmpkq7vceyn/tmpbsnso49c.py", line 5 print("Case i: x) ^ SyntaxError: unterminated string literal (detected at line 5)
s572686863
p02396
u744121389
1502412952
Python
Python3
py
Runtime Error
0
0
73
x= input() for i in range(10000) print("Case i: x) if x == 0: break
File "/tmp/tmpsdtgwkxw/tmpik8qsig4.py", line 4 print("Case i: x) ^ SyntaxError: unterminated string literal (detected at line 4)
s523045786
p02396
u744121389
1502413231
Python
Python3
py
Runtime Error
0
0
104
import sys i = 1 for i in sys.stdin.readlines().strip() if i == 0: break print("Case i: x") i += 1
File "/tmp/tmpzuxelmvs/tmph65kyyf6.py", line 4 for i in sys.stdin.readlines().strip() ^ SyntaxError: expected ':'
s795717742
p02396
u142321256
1502461039
Python
Python3
py
Runtime Error
0
0
116
a = [input() for i in range(N)] for i in range(len(a)): if(a[i]==0): break else: print(a[i])
Traceback (most recent call last): File "/tmp/tmpufne_pw5/tmp8rp2gjgw.py", line 1, in <module> a = [input() for i in range(N)] ^ NameError: name 'N' is not defined
s389033578
p02396
u142321256
1502461077
Python
Python3
py
Runtime Error
0
0
149
a = [] while True: n = input() if n == -1: break for i in range(len(a)): if(a[i]==0): break else: print(a[i])
Traceback (most recent call last): File "/tmp/tmpnkjqu61d/tmpfb0hudbe.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s813081020
p02396
u142321256
1502461108
Python
Python3
py
Runtime Error
0
0
165
a = [] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)): if(a[i]==0): break else: print(a[i])
Traceback (most recent call last): File "/tmp/tmpgdagygil/tmpn1cmfwtn.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s874554579
p02396
u142321256
1502461135
Python
Python3
py
Runtime Error
0
0
166
a = [] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)): if(a[i]==0): break else: print(a[i])
Traceback (most recent call last): File "/tmp/tmpgh1enlfy/tmphoply7ep.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s825549458
p02396
u142321256
1502461224
Python
Python3
py
Runtime Error
0
0
190
a = [] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)): if(a[i]==0): break else: print('Case '+str(i)+': 'str(a[i]))
File "/tmp/tmp728e07mp/tmphmz4tq1n.py", line 12 print('Case '+str(i)+': 'str(a[i])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s395953848
p02396
u142321256
1502461280
Python
Python3
py
Runtime Error
0
0
191
a = [] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)): if(a[i]==0): break else: print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmp1w71b8dv/tmp8wmvd_1i.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s539155090
p02396
u142321256
1502461393
Python
Python3
py
Runtime Error
0
0
193
a = [] while True: n = input() if (n == -1): break a.append(n) for i in range(len(a)): if(a[i]==0): break else: print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmpaxkht06q/tmprji8xmju.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s832167611
p02396
u142321256
1502461453
Python
Python3
py
Runtime Error
0
0
151
a = [] while True: n = input() if (n == 0): break a.append(n) for i in range(len(a)): print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmpxd_5qm4l/tmplb2p1whf.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s646861458
p02396
u142321256
1502461465
Python
Python3
py
Runtime Error
0
0
151
a = [] while True: n = input() if (n == 0): break a.append(n) for i in range(len(a)): print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmpqos900sx/tmpsu388p0w.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s116664253
p02396
u142321256
1502461506
Python
Python3
py
Runtime Error
0
0
81
a = [] while True: n = input() if (n == 0): break a.append(n)
Traceback (most recent call last): File "/tmp/tmph9een16u/tmpfbipg_jf.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s134189726
p02396
u142321256
1502461522
Python
Python3
py
Runtime Error
0
0
152
a = [] while(True): n = input() if (n == 0): break a.append(n) for i in range(len(a)): print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmp3f5yh9v7/tmp0307s0z2.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s682984285
p02396
u142321256
1502461530
Python
Python3
py
Runtime Error
0
0
149
a = [] while(1): n = input() if (n == 0): break a.append(n) for i in range(len(a)): print('Case '+str(i)+': '+str(a[i]))
Traceback (most recent call last): File "/tmp/tmp8n8ec971/tmpk8k60vop.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s982368298
p02396
u142321256
1502461551
Python
Python3
py
Runtime Error
0
0
79
a = [] while(1): n = input() if (n == 0): break a.append(n)
Traceback (most recent call last): File "/tmp/tmpelbixoh_/tmptlk_gb8a.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s956031529
p02396
u142321256
1502461556
Python
Python3
py
Runtime Error
0
0
79
a = [] while(1): n = input() if (n == 0): break a.append(n)
Traceback (most recent call last): File "/tmp/tmp3sbg7wo4/tmpzmedw9tr.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s288856135
p02396
u853619096
1502511410
Python
Python3
py
Runtime Error
0
0
102
while True: a=int(input()) if a ==0: break i=1 print(Case i: a) i+=1
File "/tmp/tmp8n3pcw3q/tmp_1a69d7v.py", line 7 print(Case i: a) ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s505683862
p02396
u853619096
1502511479
Python
Python3
py
Runtime Error
0
0
119
while True: a = int(input()) if a == 0: break i = 1 print("Case {}: {}.format(i,a)) i += 1
File "/tmp/tmpg9ykk5zq/tmpqtf61aj2.py", line 7 print("Case {}: {}.format(i,a)) ^ SyntaxError: unterminated string literal (detected at line 7)
s812773361
p02396
u744121389
1502885602
Python
Python3
py
Runtime Error
0
0
128
import sys a = 1 for b in sys.stdin: if b.strip() == 0: break print"Case %d: %s" % (a,b.strip) a += 1
File "/tmp/tmpd0g33shs/tmp6eu5tl_g.py", line 9 print"Case %d: %s" % (a,b.strip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s605134132
p02396
u744121389
1502886263
Python
Python3
py
Runtime Error
0
0
129
import sys cnt =1 while 1: x = sys.stdin.strip() if x == "0": break; print("Case %d: %s"%(cnt,x)) cnt+=1
Traceback (most recent call last): File "/tmp/tmpek_ob367/tmp7ra07pgz.py", line 4, in <module> x = sys.stdin.strip() ^^^^^^^^^^^^^^^ AttributeError: '_io.TextIOWrapper' object has no attribute 'strip'
s922418506
p02396
u744121389
1502886970
Python
Python3
py
Runtime Error
0
0
141
import sys cnt =1 while 1: x = sys.stdin.readline().strip() if x == "0": break: print("Case %d: %s"%(cnt,x)) cnt+=1
File "/tmp/tmpze26ps2_/tmpb_718pzv.py", line 7 break: ^ SyntaxError: invalid syntax
s954921356
p02396
u283452598
1503041763
Python
Python3
py
Runtime Error
0
0
79
count=0 while x != 0: x=int(input()) print("Case {0}: x".format(count))
Traceback (most recent call last): File "/tmp/tmpzjcovts9/tmps5hts1d2.py", line 2, in <module> while x != 0: ^ NameError: name 'x' is not defined
s150149753
p02396
u283452598
1503041777
Python
Python3
py
Runtime Error
0
0
94
count=0 while x != 0: x=int(input()) print("Case {0}: x".format(count)) count += 1
Traceback (most recent call last): File "/tmp/tmp8ej7qz8i/tmp74mic49p.py", line 2, in <module> while x != 0: ^ NameError: name 'x' is not defined
s574076570
p02396
u525269094
1503288735
Python
Python3
py
Runtime Error
0
0
99
import sys i = 1 while: c = sys.argv[i] if c == 0: break else: print(c
File "/tmp/tmpg2g9bxx9/tmphjrkuims.py", line 4 while: ^ SyntaxError: invalid syntax
s582144033
p02396
u525269094
1503288823
Python
Python3
py
Runtime Error
0
0
101
import sys i = 1 while 1: c = sys.argv[i] if c == 0: break else: print(c
File "/tmp/tmpdjp44qup/tmpa_so_m66.py", line 9 print(c ^ SyntaxError: '(' was never closed
s217940332
p02396
u525269094
1503289930
Python
Python3
py
Runtime Error
0
0
118
import sys ns = sys.argv for i in range(1,10000): if ns[i] == "0": break else: print (ns[i])
Traceback (most recent call last): File "/tmp/tmpm3k54z4w/tmpk7d0c4fw.py", line 6, in <module> if ns[i] == "0": ~~^^^ IndexError: list index out of range
s484805444
p02396
u525269094
1503290009
Python
Python3
py
Runtime Error
0
0
133
import sys ns = sys.argv for i in range(1,10000): if ns[i] == "0": break else: print ("case ",i,": ",ns[i])
Traceback (most recent call last): File "/tmp/tmp6obj6v25/tmpmbuwd1wi.py", line 6, in <module> if ns[i] == "0": ~~^^^ IndexError: list index out of range
s626468085
p02396
u525269094
1503290709
Python
Python3
py
Runtime Error
0
0
150
import sys ns = sys.stdin.readlines() for i in range(1,10000): if ns[i] == "0": break else: print ("Case ",i,": ",ns[i]"\n")
File "/tmp/tmppiizz86u/tmpe3urpt_m.py", line 9 print ("Case ",i,": ",ns[i]"\n") ^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s345625204
p02396
u525269094
1503290714
Python
Python3
py
Runtime Error
0
0
150
import sys ns = sys.stdin.readlines() for i in range(1,10000): if ns[i] == "0": break else: print ("Case ",i,": ",ns[i]"\n")
File "/tmp/tmpwquepdj5/tmp6zcgjvgj.py", line 9 print ("Case ",i,": ",ns[i]"\n") ^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s668821241
p02396
u525269094
1503291092
Python
Python3
py
Runtime Error
0
0
148
import sys ns = sys.stdin.readlines() for i in range(1,10000): if ns[i] == "0": break else: print ("Case ",i,": ",ns[i]\n)
File "/tmp/tmp7900h612/tmp3nd6fz57.py", line 9 print ("Case ",i,": ",ns[i]\n) ^ SyntaxError: unexpected character after line continuation character
s540880185
p02396
u525269094
1503291166
Python
Python3
py
Runtime Error
0
0
151
import sys ns = sys.stdin.readlines() for i in range(1,20000): if ns[i] == "0": break else: print ("Case ",i,": ",ns[i],"\n")
Traceback (most recent call last): File "/tmp/tmpcd6w80y7/tmpe9bpn1hw.py", line 6, in <module> if ns[i] == "0": ~~^^^ IndexError: list index out of range
s127904773
p02396
u544943822
1503556210
Python
Python
py
Runtime Error
0
0
60
while True: x=raw_input() if x=(0) break print("0")
File "/tmp/tmphu274m2t/tmp5or7s3ei.py", line 3 if x=(0) ^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s238268821
p02396
u544943822
1503557110
Python
Python
py
Runtime Error
0
0
74
a = 1 while True: read each x=raw_input() if x=0: print(0) break
File "/tmp/tmpnle38o6n/tmpwn3f10k4.py", line 3 read each x=raw_input() ^^^^ SyntaxError: invalid syntax
s733203055
p02396
u628840297
1503557221
Python
Python
py
Runtime Error
0
0
136
a = 1 while True: x = raw_input('Case a: ','b') a += 1 b = input() if we have 0 break print(x)
File "/tmp/tmp9xb78swq/tmp0ab0xd6g.py", line 9 if we have 0 ^^^^ SyntaxError: invalid syntax
s564298095
p02396
u617778316
1503557291
Python
Python
py
Runtime Error
0
0
111
a=1 while True: x=raw_input() if x!=0: print('Case '+str(a)+':'+x) a+=1 elif x==0: break
Traceback (most recent call last): File "/tmp/tmp6nx5xjrj/tmpoj120kzq.py", line 3, in <module> x=raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s041072279
p02396
u544943822
1503559007
Python
Python
py
Runtime Error
0
0
132
count = 0 while True: x=raw_input() count + =1 if x == '0': break print('Case' + count + ':' + x)
File "/tmp/tmp0hq_8kbt/tmp7fow05d_.py", line 4 count + =1 ^ SyntaxError: invalid syntax
s952395793
p02396
u628840297
1503559240
Python
Python
py
Runtime Error
0
0
139
count = 0 while True: x = raw_input() count += 1 if x == '0': break print('Case' + str(count) + ': ' + x)
File "/tmp/tmp4o319csw/tmpt4pw4yox.py", line 7 count += 1 IndentationError: unexpected indent
s471372018
p02396
u954858867
1503566292
Python
Python3
py
Runtime Error
0
0
144
ret = [] while True: n = input() if n == 0: break ret += [n] for i, x in enumerate(ret): print 'Case %d: %d' % (i+1, x)
File "/tmp/tmpnjb3d7xs/tmp3kqhraf7.py", line 9 print 'Case %d: %d' % (i+1, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s974180756
p02396
u954858867
1503566506
Python
Python
py
Runtime Error
0
0
105
i = 0 while True: i, n = input(), i+1 if n == 0: break print 'Case %d: %d' % (i+1, x)
File "/tmp/tmplian69xa/tmp7oi4whi7.py", line 6 print 'Case %d: %d' % (i+1, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s913468574
p02396
u954858867
1503566528
Python
Python
py
Runtime Error
0
0
105
i = 0 while True: i, n = input(), i+1 if n == 0: break print 'Case %d: %d' % (i+1, n)
File "/tmp/tmp0krh8yjj/tmpwq6rihzn.py", line 6 print 'Case %d: %d' % (i+1, n) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s408809855
p02396
u096862087
1503647225
Python
Python3
py
Runtime Error
0
0
112
for i in range(10000): j = (int)input() if j == 0: break print("Case {0}: {1}".format(i, j))
File "/tmp/tmpdd34gqx3/tmp2crqyyqd.py", line 2 j = (int)input() ^^^^^ SyntaxError: invalid syntax
s437466471
p02396
u132415474
1504521400
Python
Python3
py
Runtime Error
0
0
97
for i, e in enumerate(eval(input().replace('\n', ','))): print("Case {}: {}".format(i+1, e))
Traceback (most recent call last): File "/tmp/tmp3xixdrhb/tmpugox8kk0.py", line 1, in <module> for i, e in enumerate(eval(input().replace('\n', ','))): ^^^^^^^ EOFError: EOF when reading a line
s378700505
p02396
u132415474
1504521554
Python
Python3
py
Runtime Error
0
0
72
i = 1 while True: print("Case {}: {}".format(i, input())) i += 1
Traceback (most recent call last): File "/tmp/tmp2crapvdv/tmpk1hq6wxw.py", line 3, in <module> print("Case {}: {}".format(i, input())) ^^^^^^^ EOFError: EOF when reading a line
s841987047
p02396
u563181068
1505058277
Python
Python3
py
Runtime Error
0
0
117
i=1;count=1 while 1: i=input() if i==0: break print("case {0}: {1}".format(count,i)) count+=1
Traceback (most recent call last): File "/tmp/tmp0ttqqksi/tmpzc7zd0g4.py", line 3, in <module> i=input() ^^^^^^^ EOFError: EOF when reading a line
s073110155
p02396
u563181068
1505058488
Python
Python3
py
Runtime Error
0
0
117
i=1;count=1 while 1: i=input() if i==0:break print("case {0}: {1}".format(count,i)) count+=1
Traceback (most recent call last): File "/tmp/tmpwvomh7_7/tmpc5zh_ql9.py", line 3, in <module> i=input() ^^^^^^^ EOFError: EOF when reading a line
s885523710
p02396
u563181068
1505058566
Python
Python3
py
Runtime Error
0
0
109
i=1;count=1 while 1: i=input() if i==0:break print("Case {0}: {1}".format(count,i)) count+=1
Traceback (most recent call last): File "/tmp/tmpzw9_58h1/tmpbmj717wt.py", line 3, in <module> i=input() ^^^^^^^ EOFError: EOF when reading a line
s089346221
p02396
u362494298
1505174255
Python
Python3
py
Runtime Error
0
0
144
count = 1 for: x = input() if x == 0: break else: {i}.format(i=count) print("Case{i}:" x) count = count + 1
File "/tmp/tmp5oww6tgp/tmpivz7p7_0.py", line 3 for: ^ SyntaxError: invalid syntax