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
s986546446
p02396
u216235239
1463741597
Python
Python3
py
Runtime Error
0
0
165
import sys num = 0 while check == True: x = sys.stdin.readline().strip() if x == "0": check = False num = num + 1 print("case " + str(num) + ": " + x")
File "/tmp/tmpzyfeo_5u/tmput35_vi3.py", line 12 print("case " + str(num) + ": " + x") ^ SyntaxError: unterminated string literal (detected at line 12)
s196804319
p02396
u216235239
1463743048
Python
Python3
py
Runtime Error
0
0
170
import sys check = True i = 0 #for j in range(100): # x = sys.stdin.readline().strip() # # if x == "0": # check = False # break print("Case " + str(i) + ": " + x)
File "/tmp/tmpm_g9ckkb/tmpb6e8jmv0.py", line 13 print("Case " + str(i) + ": " + x) IndentationError: unexpected indent
s030505827
p02396
u104931506
1464297631
Python
Python3
py
Runtime Error
0
0
130
import sys for i, x in enumerate(map(int, sys.stdin())): if x == 0 or not x: break; print('Case {0}: {1}'.format(i + 1, x)
File "/tmp/tmpldhutenm/tmp7fkcmr8u.py", line 5 print('Case {0}: {1}'.format(i + 1, x) ^ SyntaxError: '(' was never closed
s346859423
p02396
u104931506
1464297763
Python
Python3
py
Runtime Error
0
0
131
import sys for i, x in enumerate(map(int, sys.stdin())): if x == 0 or not x: break; print('Case {0}: {1}'.format(i + 1, x))
Traceback (most recent call last): File "/tmp/tmpgf8au37h/tmpnc9bakee.py", line 2, in <module> for i, x in enumerate(map(int, sys.stdin())): ^^^^^^^^^^^ TypeError: '_io.TextIOWrapper' object is not callable
s528142741
p02396
u177370127
1465277779
Python
Python3
py
Runtime Error
0
0
110
import sys i = 1 while True: x = sys.stdin.readline().strip() print("Case &d: %s" % (i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmpn_dznegv/tmpe_06g7yj.py", line 5, in <module> print("Case &d: %s" % (i, x)) ~~~~~~~~~~~~~~^~~~~~~~ TypeError: not all arguments converted during string formatting
s505638554
p02396
u177370127
1465277845
Python
Python3
py
Runtime Error
0
0
140
import sys i = 1 while True: x = sys.stdin.readline().strip() if x == 0: break; print("Case &d: %s" % (i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmpkz2gbduc/tmpdqmctafa.py", line 7, in <module> print("Case &d: %s" % (i, x)) ~~~~~~~~~~~~~~^~~~~~~~ TypeError: not all arguments converted during string formatting
s303213465
p02396
u119456964
1465793624
Python
Python
py
Runtime Error
0
0
108
count = 1 while(1): x = int(raw_input()) if x == 0: break print 'Case {0}: {1}'.format(count++, x)
File "/tmp/tmp1vwx00mm/tmpzpfccyf1.py", line 6 print 'Case {0}: {1}'.format(count++, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s561094806
p02396
u119456964
1465793637
Python
Python
py
Runtime Error
0
0
116
count = 1 while(1): x = int(raw_input()) if x == 0: break print 'Case {0}: {1}'.format(count, x) count++
File "/tmp/tmpjt93ex_o/tmpl7ftqm5c.py", line 6 print 'Case {0}: {1}'.format(count, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s139758849
p02396
u119456964
1465793711
Python
Python
py
Runtime Error
0
0
107
count = 1 while 1: x = int(raw_input()) if x == 0: break print 'Case {0}: {1}'.format(count++, x)
File "/tmp/tmpvkhagg6d/tmpiajwtveo.py", line 6 print 'Case {0}: {1}'.format(count++, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s585063155
p02396
u119456964
1465793832
Python
Python
py
Runtime Error
0
0
111
count = 1 while 1: x = int(raw_input()) if x == 0: break print 'Case {0}: {1}'.format(count += 1+, x)
File "/tmp/tmpz8wes87w/tmpvbiqp589.py", line 6 print 'Case {0}: {1}'.format(count += 1+, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s296102474
p02396
u119456964
1465793842
Python
Python
py
Runtime Error
0
0
110
count = 1 while 1: x = int(raw_input()) if x == 0: break print 'Case {0}: {1}'.format(count += 1, x)
File "/tmp/tmpkwop1lbb/tmpdd44nc2c.py", line 6 print 'Case {0}: {1}'.format(count += 1, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s342339075
p02396
u587193722
1469593072
Python
Python3
py
Runtime Error
0
0
129
a = [int(i) for i in input().split() if i > 0: else: break] for i in range(0,len(a)): print('Case ', i+1, ': ', a[i], sep='')
File "/tmp/tmp6rxta747/tmp2dtp1_8b.py", line 1 a = [int(i) for i in input().split() if i > 0: else: break] ^ SyntaxError: invalid syntax
s982835547
p02396
u587193722
1469593257
Python
Python3
py
Runtime Error
0
0
127
a = [int(i) for i in input().split() if i > 0 else break] for i in range(0,len(a)): print('Case ', i+1, ': ', a[i], sep='')
File "/tmp/tmp4bdgjhl0/tmp3c3egs3a.py", line 1 a = [int(i) for i in input().split() if i > 0 else break] ^^^^ SyntaxError: invalid syntax
s285320062
p02396
u587193722
1469594669
Python
Python3
py
Runtime Error
0
0
129
a = [(int(i) for i in input().split()) if i > 0 else break] for i in range(0,len(a)): print('Case ', i+1, ': ', a[i], sep='')
File "/tmp/tmpx3501luv/tmpat6pnica.py", line 1 a = [(int(i) for i in input().split()) if i > 0 else break] ^^^^^ SyntaxError: invalid syntax
s877534160
p02396
u204883389
1469596194
Python
Python3
py
Runtime Error
0
0
198
def main(): i = 1 while True: x = int(raw_input().strip()) if x == 0: break print "Case %d: %d" % (i, x) i += 1 if __name__ == '__main__': main()
File "/tmp/tmpc9o5nl10/tmp689b1re8.py", line 7 print "Case %d: %d" % (i, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s188657885
p02396
u204883389
1469596984
Python
Python3
py
Runtime Error
0
0
207
def main(): i = 1 while True: x = [int(i) for i in input().split()] if x == 0: break print "Case %d: %d" % (i, x) i += 1 if __name__ == '__main__': main()
File "/tmp/tmpkihk32mc/tmpzmap18oz.py", line 7 print "Case %d: %d" % (i, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s148844847
p02396
u085472528
1469597998
Python
Python3
py
Runtime Error
0
0
155
count = 1 while True: x = int(input()) if x ! = 0: print("case {0}: {1}".format(count, x)) count += 1 else: break
File "/tmp/tmpev7y9qik/tmpwn2tchx2.py", line 5 if x ! = 0: ^ SyntaxError: invalid syntax
s457091958
p02396
u600195957
1469598078
Python
Python3
py
Runtime Error
0
0
166
count = 1 while True: x = int(input()) if x != 0: print("Case {0}: {1}".format(count, x) count += 1 else: break
File "/tmp/tmp7rxd0aei/tmpoqoeefai.py", line 6 print("Case {0}: {1}".format(count, x) ^ SyntaxError: '(' was never closed
s379267854
p02396
u085472528
1469598088
Python
Python3
py
Runtime Error
0
0
155
count = 1 while True: x = int(input()) if x ! = 0: print("Case {0}: {1}".format(count, x)) count += 1 else: break
File "/tmp/tmpwg8v17o4/tmplw2vy8ge.py", line 5 if x ! = 0: ^ SyntaxError: invalid syntax
s808494729
p02396
u747009765
1469598104
Python
Python3
py
Runtime Error
0
0
190
1 count = 1 2 3 while True: 4 x = int(input()) 5 if x != 0: 6 print("Case {0}: {1}".format(count, x)) 7 count += 1 8 9 else: 10 break
File "/tmp/tmpfsz7svv1/tmphsz5jqxf.py", line 1 1 count = 1 IndentationError: unexpected indent
s671392399
p02396
u498041957
1469598132
Python
Python3
py
Runtime Error
0
0
156
count = 1 While True: X = it(input()) if x != 0: print("case {0}: {1}:.format(count, x)") count +=1 else: break
File "/tmp/tmptjqsmycj/tmpp_hxpdnx.py", line 3 While True: ^^^^ SyntaxError: invalid syntax
s199563086
p02396
u600195957
1469598142
Python
Python3
py
Runtime Error
0
0
167
count = 1 while True: x = int(input()) if x != 0: print("Case {0} : {1}".format(count, x) count += 1 else: break
File "/tmp/tmpibv79z2k/tmpg8ylfoab.py", line 6 print("Case {0} : {1}".format(count, x) ^ SyntaxError: '(' was never closed
s250798883
p02396
u498041957
1469598153
Python
Python3
py
Runtime Error
0
0
156
count = 1 While True: X = it(input()) if x != 0: print("case {0}: {1}:.format(count, x)") count +=1 else: break
File "/tmp/tmpubdaegmf/tmp5b5a9bls.py", line 3 While True: ^^^^ SyntaxError: invalid syntax
s330665451
p02396
u498041957
1469598187
Python
Python3
py
Runtime Error
0
0
157
count = 1 While True: X = int(input()) if x != 0: print("case {0}: {1}:.format(count, x)") count +=1 else: break
File "/tmp/tmp5h56ymu5/tmptab9u1ad.py", line 3 While True: ^^^^ SyntaxError: invalid syntax
s338543872
p02396
u600195957
1469598239
Python
Python3
py
Runtime Error
0
0
167
count = 1 while True: x = int(input()) if x != 0: print("Case {0} : {1}".format(count, x) count += 1 else: break
File "/tmp/tmp46a0e_15/tmp9vjj8fqu.py", line 6 print("Case {0} : {1}".format(count, x) ^ SyntaxError: '(' was never closed
s876638738
p02396
u435917115
1469598294
Python
Python3
py
Runtime Error
0
0
153
count = 1 while True: x = int(input())if x != 0: print("Case {0}: {1}".format(count, x)) count += 1 else: break
File "/tmp/tmpvth7b29s/tmphum18q4h.py", line 4 x = int(input())if x != 0: ^ SyntaxError: invalid syntax
s279922459
p02396
u498041957
1469598306
Python
Python3
py
Runtime Error
0
0
141
import abc c = 0 while True: i = int(abc.stdin.readline()) if (i == 0): break c+=1 print("Case " + str(c) + ":", i)
Traceback (most recent call last): File "/tmp/tmpbrcrakn7/tmp22mbc4se.py", line 5, in <module> i = int(abc.stdin.readline()) ^^^^^^^^^ AttributeError: module 'abc' has no attribute 'stdin'
s912212117
p02396
u510829608
1469704949
Python
Python3
py
Runtime Error
0
0
109
cnt = 1 while True: a = input() if a == '0': break cnt += 1 print('Case {0}:{1}'.format(cnt, a))
File "/tmp/tmpwtq1u2jp/tmpgrdepqle.py", line 7 print('Case {0}:{1}'.format(cnt, a)) TabError: inconsistent use of tabs and spaces in indentation
s024507558
p02396
u216425054
1470673413
Python
Python3
py
Runtime Error
0
0
126
a=1 while 1: i = int(raw_input()) if i == 0: break else: print 'Case %d: %d'%(a, i) a += 1
File "/tmp/tmpvbwgegdv/tmp9jrejz9c.py", line 7 print 'Case %d: %d'%(a, i) ^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s923584372
p02396
u998435601
1470855248
Python
Python
py
Runtime Error
0
0
72
i = 1 while (a = input()) != 0: print "Case %d: %d" % (i, a) i = i + 1
File "/tmp/tmpjzchhk0_/tmph7uir4b8.py", line 2 while (a = input()) != 0: ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s655531953
p02396
u998435601
1470855805
Python
Python
py
Runtime Error
0
0
136
lis = [] a = raw_input() while a != '0': lis.append(a) a = int(raw_input()) for i,v in enumerate(lis): print "Case %d: %d" % (i+1,v)
File "/tmp/tmpct0qqijp/tmpf34812vr.py", line 8 print "Case %d: %d" % (i+1,v) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s691830269
p02396
u998435601
1470855929
Python
Python
py
Runtime Error
0
0
84
i = 1 while true: a = raw_input() if a = '0': break print "Case %d: %s" % (i,a)
File "/tmp/tmpshxxz_u6/tmpkoopm7dz.py", line 4 if a = '0': ^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s433612171
p02396
u792783386
1472476395
Python
Python
py
Runtime Error
0
0
296
# coding: UTF-8 # ???????????´??° x ???????????????????????????????????????????????????????????°????????????????????????????????? data_set = [] while True: n = input() if n == 0: break data_set.append(n) case = 1 for n in data_set: print "Case %d: %d" %(case, n) case += 1
File "/tmp/tmp_rie7zyw/tmpqwq3va5l.py", line 4 data_set = [] IndentationError: unexpected indent
s493047337
p02396
u892219101
1473441209
Python
Python3
py
Runtime Error
0
0
98
import sys for i in range(10000): j=int(input) if j==0: sys.exit() print("Case",str(i)+":",j)
Traceback (most recent call last): File "/tmp/tmpnz61tsgx/tmpoo1n34pi.py", line 3, in <module> j=int(input) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s086272121
p02396
u892219101
1473441299
Python
Python3
py
Runtime Error
0
0
84
import sys while 1: j=int(input) if j==0: sys.exit() print("Case",str(i)+":",j)
Traceback (most recent call last): File "/tmp/tmp_2og5uzu/tmpqi4e04bw.py", line 3, in <module> j=int(input) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s415418833
p02396
u892219101
1473441359
Python
Python3
py
Runtime Error
0
0
79
while 1: i=1 j=int(input) if j==0: break print("Case",str(i)+":",j) i+=1
Traceback (most recent call last): File "/tmp/tmp02jwq1ja/tmpvtv759q3.py", line 3, in <module> j=int(input) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s211553393
p02396
u494314211
1475347014
Python
Python3
py
Runtime Error
0
0
76
a=0 while(True): b=input() if b="0": break print("Case",a,end="") a+=1
File "/tmp/tmp3q9ii_9z/tmpa_rwleiv.py", line 4 if b="0": ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s013345665
p02396
u494314211
1475348133
Python
Python3
py
Runtime Error
0
0
115
a = [] for line in sys.stdin: a.append(int(line)) for i in range(len(a)): print("Case ",i+1,": ",a[i],end="")
Traceback (most recent call last): File "/tmp/tmpjh0vnq8k/tmp5nx0aq3b.py", line 2, in <module> for line in sys.stdin: ^^^ NameError: name 'sys' is not defined
s580764967
p02396
u494314211
1475348167
Python
Python3
py
Runtime Error
0
0
115
a = [] for line in sys.stdin: a.append(int(line)) for i in range(len(a)): print("Case ",i+1,": ",a[i],end="")
Traceback (most recent call last): File "/tmp/tmps22ubqo1/tmpjri2xscu.py", line 2, in <module> for line in sys.stdin: ^^^ NameError: name 'sys' is not defined
s938662962
p02396
u494314211
1475348227
Python
Python3
py
Runtime Error
0
0
115
a = [] for line in sys.stdin: a.append(int(line)) for i in range(len(a)): print("Case ",i+1,": ",a[i],sep="")
Traceback (most recent call last): File "/tmp/tmpgajjwd9z/tmp8hochfbq.py", line 2, in <module> for line in sys.stdin: ^^^ NameError: name 'sys' is not defined
s985005907
p02396
u494314211
1475348323
Python
Python3
py
Runtime Error
0
0
128
a = [] for line in sys.stdin: if line="0" a.append(int(line)) for i in range(len(a)): print("Case ",i+1,": ",a[i],sep="")
File "/tmp/tmpzpx9skm9/tmpb0fliz3b.py", line 3 if line="0" ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s996151348
p02396
u494314211
1475348338
Python
Python3
py
Runtime Error
0
0
128
a = [] for line in sys.stdin: if line="0" a.append(int(line)) for i in range(len(a)): print("Case ",i+1,": ",a[i],sep="")
File "/tmp/tmpy1qa3bym/tmp_eq3p6e3.py", line 3 if line="0" ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s165274309
p02396
u494314211
1475348440
Python
Python3
py
Runtime Error
0
0
160
a = [] for line in sys.stdin: if line="0" a.append(int(line)) if len(a>10000): break for i in range(len(a)): print("Case ",i+1,": ",a[i],sep="")
File "/tmp/tmprujapa3x/tmpuxuxbh9t.py", line 3 if line="0" ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s872109489
p02396
u073709667
1476029080
Python
Python3
py
Runtime Error
0
0
130
import sys i=0 while True: x=sys.stdin.readline().strip() if x==0: break print("Case %d: %d"%(i+1,x)) i+=1
Traceback (most recent call last): File "/tmp/tmpqe8pvag4/tmpgmwc36ed.py", line 7, in <module> print("Case %d: %d"%(i+1,x)) ~~~~~~~~~~~~~^~~~~~~~ TypeError: %d format: a real number is required, not str
s646971372
p02396
u073709667
1476029087
Python
Python3
py
Runtime Error
0
0
132
import sys i=0 while True: x=sys.stdin.readline().strip() if x=="0": break print("Case %d: %d"%(i+1,x)) i+=1
Traceback (most recent call last): File "/tmp/tmpqwh1_a3i/tmpik126x9t.py", line 7, in <module> print("Case %d: %d"%(i+1,x)) ~~~~~~~~~~~~~^~~~~~~~ TypeError: %d format: a real number is required, not str
s208378956
p02396
u073709667
1476029094
Python
Python3
py
Runtime Error
0
0
133
import sys i=0 while True: x=sys.stdin.readline().strip() if x=="0": break; print("Case %d: %d"%(i+1,x)) i+=1
Traceback (most recent call last): File "/tmp/tmp7331ml00/tmpiw1gpjvg.py", line 7, in <module> print("Case %d: %d"%(i+1,x)) ~~~~~~~~~~~~~^~~~~~~~ TypeError: %d format: a real number is required, not str
s663577146
p02396
u073709667
1476029105
Python
Python3
py
Runtime Error
0
0
133
import sys i=0 while True: x=sys.stdin.readline().strip() if x=="0": break; print("Case %d: %d"%(i+1,x)) i+=1
Traceback (most recent call last): File "/tmp/tmpqgl7yfli/tmphjn7mt2m.py", line 7, in <module> print("Case %d: %d"%(i+1,x)) ~~~~~~~~~~~~~^~~~~~~~ TypeError: %d format: a real number is required, not str
s343523785
p02396
u801346721
1476696088
Python
Python3
py
Runtime Error
0
0
106
counter = 1 while 1: i = int(input()) if i == 0: break print("Case", str(count)':', i) count++
File "/tmp/tmpbggtd7p8/tmparxfaoly.py", line 6 print("Case", str(count)':', i) ^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s712881354
p02396
u801346721
1476696986
Python
Python3
py
Runtime Error
0
0
117
counter = 0 while 1: i = int(input()) if i == 0: break counter++ print("Case {0}: {1}".format(counter, i)
File "/tmp/tmpkq2xzgfb/tmpiax5dkos.py", line 6 counter++ ^ SyntaxError: invalid syntax
s624402414
p02396
u801346721
1476697117
Python
Python3
py
Runtime Error
0
0
120
counter = 0 while 1: i = int(input()) if i == 0: break counter += 1 print("Case {0}: {1}".format(counter, i)
File "/tmp/tmpvf53m427/tmprtusxiu5.py", line 7 print("Case {0}: {1}".format(counter, i) ^ SyntaxError: '(' was never closed
s726715093
p02396
u996758922
1476972486
Python
Python3
py
Runtime Error
0
0
226
n=0 cases=[0] while n<=9999: case=input() if int(case) != 0: cases.append(case) n+=1 else: break length=len(cases) for n in range(length): print("Case "+str(n+1)+": "+str(cases[n+1]))
Traceback (most recent call last): File "/tmp/tmpja6jvgo3/tmppcet65d7.py", line 5, in <module> case=input() ^^^^^^^ EOFError: EOF when reading a line
s654407915
p02396
u996758922
1476973149
Python
Python3
py
Runtime Error
0
0
174
cases=[] while True: n = input() if n==0: break cases.append(n) length=len(cases) for n in range(length): print("Case "+str(n+1)+": "+str(cases[n]))
Traceback (most recent call last): File "/tmp/tmpl8os4_k8/tmp1y5mx4ww.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s200269050
p02396
u175111751
1477427110
Python
Python3
py
Runtime Error
0
0
93
while True: i = int(input()) break if i == 0 else print('Case i: {0}'.format(i))
File "/tmp/tmp_b0a6mcx/tmpna06en9p.py", line 3 break if i == 0 else print('Case i: {0}'.format(i)) ^^ SyntaxError: invalid syntax
s732898390
p02396
u175111751
1477427333
Python
Python3
py
Runtime Error
0
0
128
i = 0 while True: i++ x = int(input()) if x == 0: break else: print('Case {0}: {1}'.format(i, x)
File "/tmp/tmp0o3oi1am/tmpgeia0l2c.py", line 3 i++ ^ SyntaxError: invalid syntax
s113561328
p02396
u175111751
1477427367
Python
Python3
py
Runtime Error
0
0
131
i = 0 while True: i += 1 x = int(input()) if x == 0: break else: print('Case {0}: {1}'.format(i, x)
File "/tmp/tmpaouurvj2/tmpiavj47wg.py", line 8 print('Case {0}: {1}'.format(i, x) ^ SyntaxError: '(' was never closed
s923070236
p02396
u175111751
1477427523
Python
Python3
py
Runtime Error
0
0
129
i = 0 while True: i++ x = int(input()) if x == 0: break else: print('Case {0}: {1}'.format(i, x))
File "/tmp/tmpyc9c7dvd/tmpgvvz0kmu.py", line 3 i++ ^ SyntaxError: invalid syntax
s928242998
p02396
u831244171
1477490340
Python
Python
py
Runtime Error
0
0
143
a = [] while True: if n == 0: break else: a.append(input()) for i in range(0,len(a)): print "Case"+ i + ":" + a[i]
File "/tmp/tmpx_8uf9g3/tmpf_r8qdor.py", line 9 print "Case"+ i + ":" + a[i] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s873066176
p02396
u831244171
1477490382
Python
Python
py
Runtime Error
0
0
153
a = [] while True: n = input() if n == 0: break else: a.append(n) for i in range(0,len(a)): print "Case"+ i + ":" + a[i]
File "/tmp/tmp5jdwrneq/tmpu8bkx2sx.py", line 10 print "Case"+ i + ":" + a[i] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s507323648
p02396
u086566114
1479301178
Python
Python
py
Runtime Error
0
0
121
import sys for index, line in sys.stdin(): value = int(line.strip()) print("Case {0}: {1}".format(index, value))
Traceback (most recent call last): File "/tmp/tmpemwya32w/tmpanb827r0.py", line 3, in <module> for index, line in sys.stdin(): ^^^^^^^^^^^ TypeError: '_io.TextIOWrapper' object is not callable
s480158268
p02396
u086566114
1479301191
Python
Python
py
Runtime Error
0
0
119
import sys for index, line in sys.stdin: value = int(line.strip()) print("Case {0}: {1}".format(index, value))
s259500093
p02396
u326248180
1479366881
Python
Python3
py
Runtime Error
0
0
119
num = 0 while true: x = input() num += 1 if x == '0': break print("Case {}: {}".format(num, x))
Traceback (most recent call last): File "/tmp/tmpi2tzwn6_/tmpmpwt6ko0.py", line 2, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s774754795
p02396
u326248180
1479366926
Python
Python3
py
Runtime Error
0
0
113
num = 0 while true: x = input() num += 1 if x == '0': break print("Case %d: %s".% num, x)
File "/tmp/tmp5izbmcsp/tmp33um9moi.py", line 7 print("Case %d: %s".% num, x) ^ SyntaxError: invalid syntax
s816459104
p02396
u326248180
1479366940
Python
Python3
py
Runtime Error
0
0
114
num = 0 while(true): x = input() num += 1 if x == '0': break print("Case %d: %s".% num, x)
File "/tmp/tmppi2v4o5y/tmpxx3fj7iy.py", line 7 print("Case %d: %s".% num, x) ^ SyntaxError: invalid syntax
s240814995
p02396
u326248180
1479366961
Python
Python3
py
Runtime Error
0
0
127
num = 0 while(true): x = sys.stdin.readline() num += 1 if x == '0': break print("Case %d: %s".% num, x)
File "/tmp/tmppt5d03wh/tmpvs789cnv.py", line 7 print("Case %d: %s".% num, x) ^ SyntaxError: invalid syntax
s506835890
p02396
u982344959
1479962250
Python
Python3
py
Runtime Error
0
0
99
i=0 x=int(input()) while x !=0: i += 1 print("Case",i,":",x, sep="") x=int(input())
File "/tmp/tmprsfis36e/tmpqh5xvj6s.py", line 5 print("Case",i,":",x, sep="") ^ IndentationError: unindent does not match any outer indentation level
s063467216
p02396
u133061229
1479962252
Python
Python
py
Runtime Error
0
0
98
i = 0 x = int(input()) while x != 0: i += 1 print("Case", i, ":", x, sep="") x = int(input())
Traceback (most recent call last): File "/tmp/tmpx0h6gevw/tmpp4u6456m.py", line 2, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s338564980
p02396
u982344959
1479962364
Python
Python3
py
Runtime Error
0
0
99
i=0 x=int(input()) while x !=0: i += 1 print("Case",i,":",x, sep="") x=int(input())
File "/tmp/tmpbpqbadta/tmpiee7zgj0.py", line 5 print("Case",i,":",x, sep="") ^ IndentationError: unindent does not match any outer indentation level
s521269400
p02396
u982344959
1479962454
Python
Python3
py
Runtime Error
0
0
105
i=0 x=int(input()) while x !=0: i += 1 print("Case ",i,": ",x, sep="") x=int(input())
File "/tmp/tmpuy7udypm/tmpvt_h6gc6.py", line 6 x=int(input()) IndentationError: unexpected indent
s972160046
p02396
u982344959
1479962547
Python
Python3
py
Runtime Error
0
0
110
i =0 x = int(input()) while x !=0: i += 1 print("Case ",i,": ",x, sep="") x = int(input())
File "/tmp/tmpuhw2jgxm/tmp8ku6jtzj.py", line 6 x = int(input()) IndentationError: unexpected indent
s352406187
p02396
u302561071
1480414322
Python
Python
py
Runtime Error
0
0
75
a = input() b = 1 while(a = NULL): print("Case " + str(i) + ": " + str(a))
File "/tmp/tmponkn3r19/tmphgsyn1zr.py", line 3 while(a = NULL): ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s041189232
p02396
u302561071
1480414671
Python
Python
py
Runtime Error
0
0
98
a = input() b = 1 while(a != -1): print("Case " + str(b) + ": " + str(a)) b = b + 1 a = input()
Traceback (most recent call last): File "/tmp/tmpdv79_64k/tmpvbaklt8g.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s784029336
p02396
u302561071
1480416252
Python
Python3
py
Runtime Error
0
0
170
data = input().split() a = int(data[0]) b = int(data[1]) c = int(data[2]) divisor = list() for i in range(a,b+1): if c % i == 0: divisor.append(i) print(len(divisor))
Traceback (most recent call last): File "/tmp/tmp8f8bcmam/tmp2zc8efj7.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s163497845
p02396
u302561071
1480416302
Python
Python
py
Runtime Error
0
0
170
data = input().split() a = int(data[0]) b = int(data[1]) c = int(data[2]) divisor = list() for i in range(a,b+1): if c % i == 0: divisor.append(i) print(len(divisor))
Traceback (most recent call last): File "/tmp/tmp_ppb4wsn/tmpszr2g3c4.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s235873270
p02396
u693424532
1481721200
Python
Python3
py
Runtime Error
0
0
144
import sys a = 0 while True: i = int(sys.stdin.readline()) if (b == 0): break b += 1 print("Case " + str(a) + ":", a)
Traceback (most recent call last): File "/tmp/tmpzkeddtje/tmpbav08m93.py", line 5, in <module> i = int(sys.stdin.readline()) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s284103563
p02396
u234837959
1481937516
Python
Python3
py
Runtime Error
0
0
280
import sys list_line = sys.stdin.readlines() list_line = list(map(sprit, list_line)) #??°???(string???)?????????????????????????????? counter = 1 for i in list_line: if i != '0': print("Case %d:%s" % (counter, i)) counter += 1 else: counter = 1
Traceback (most recent call last): File "/tmp/tmpbmj637ci/tmph9r90szt.py", line 5, in <module> list_line = list(map(sprit, list_line)) #??°???(string???)?????????????????????????????? ^^^^^ NameError: name 'sprit' is not defined. Did you mean: 'print'?
s298457250
p02396
u019678978
1482920415
Python
Python3
py
Runtime Error
0
0
164
import sys c = 1 for i in sys.stdin.readline() : if (! i == 0) : print("Case " + str(c) + ":" + " " + str(i)) c = c + 1 else : break
File "/tmp/tmpadnaejbw/tmpt8xmgo4i.py", line 4 if (! i == 0) : ^ SyntaxError: invalid syntax
s687925673
p02396
u019678978
1482920683
Python
Python3
py
Runtime Error
0
0
167
import sys c = 1 for i in sys.stdin.readline() : if (int(i) == 0) : break else : print("Case " + str(c) + ":" + " " + str(i)) c = c + 1
s371240443
p02396
u019678978
1482921877
Python
Python3
py
Runtime Error
0
0
171
import sys c = 1 for i in sys.stdin.readlines().strip() : if i == "0" : break else : print("Case " + str(c) + ":" + " " + str(i)) c = c + 1
Traceback (most recent call last): File "/tmp/tmptnptbegi/tmpqxjgpxgr.py", line 3, in <module> for i in sys.stdin.readlines().strip() : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'strip'
s398427605
p02396
u162598098
1485091048
Python
Python3
py
Runtime Error
0
0
142
lis=[] while True: if input()=="0": break else: lis.append(input()) for i in range(len(lis)): print("Case %i: %i" % (i,lis[i]))
Traceback (most recent call last): File "/tmp/tmpjohlwajt/tmpoarahiqu.py", line 3, in <module> if input()=="0": ^^^^^^^ EOFError: EOF when reading a line
s244107972
p02396
u144068724
1485748747
Python
Python
py
Runtime Error
0
0
75
i=0 while 1: x = raw_index() i++ print "Case" i":"x break()
File "/tmp/tmpsal1ex4b/tmpptvzzhzc.py", line 4 i++ ^ SyntaxError: invalid syntax
s458387882
p02396
u144068724
1485748868
Python
Python
py
Runtime Error
0
0
103
i=0 while 1: x = raw_index() i++ if x == 0: break() print 'Case %s: %s' % (i,x)
File "/tmp/tmpyh06pe70/tmpqcq52v0i.py", line 4 i++ ^ SyntaxError: invalid syntax
s655768543
p02396
u144068724
1485748889
Python
Python
py
Runtime Error
0
0
101
i=0 while 1: x = raw_index() i++ if x == 0: break print 'Case %s: %s' % (i,x)
File "/tmp/tmpyw_j537r/tmp7i_l3dhi.py", line 4 i++ ^ SyntaxError: invalid syntax
s066673018
p02396
u144068724
1485748916
Python
Python
py
Runtime Error
0
0
107
i=0 while 1: x = raw_index() i = i + 1 if x == 0: break print 'Case %s: %s' % (i,x)
File "/tmp/tmprvaytmix/tmp4orz0aoq.py", line 7 print 'Case %s: %s' % (i,x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s104163345
p02396
u307520683
1486040532
Python
Python
py
Runtime Error
0
0
130
a=1 while 1: l = map(int,raw_input().split()) if l == [0,0]: break else : print ' '.join(map(str,sorted(l))) a += 1
File "/tmp/tmpnnj8ojgz/tmpil6rpniw.py", line 7 print ' '.join(map(str,sorted(l))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s925020616
p02396
u307520683
1486040561
Python
Python
py
Runtime Error
0
0
124
a=1 while 1: l = map(int,raw_input().split()) if l == [0,0]: break else : print ' '.join(map(str,sorted(l))) a += 1
File "/tmp/tmpyd6oz1k2/tmpaemuwvfk.py", line 7 print ' '.join(map(str,sorted(l))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s455629182
p02396
u548155360
1487148749
Python
Python3
py
Runtime Error
0
0
141
a = [] i = 0 //???????????? while True: n = input() if n == 0: break i += 1//????????????????????? print("Case {0} : {1}".format(i,n))
File "/tmp/tmpxz0qxy_d/tmp2z3_7mna.py", line 2 i = 0 //???????????? ^ SyntaxError: invalid syntax
s463404498
p02396
u548155360
1487148965
Python
Python3
py
Runtime Error
0
0
143
a = [] i = 0 //???????????? while True: n = input() if n == 0: break i += 1//????????????????????? print("Case {0} : {1}".format([i,n]))
File "/tmp/tmpwasi5eo4/tmprm7or72p.py", line 2 i = 0 //???????????? ^ SyntaxError: invalid syntax
s679980257
p02396
u548155360
1487149213
Python
Python3
py
Runtime Error
0
0
134
i = 0 //???????????? while True: n = input() if n == 0: break i += 1//????????????????????? print("Case {0} : {1}".format(i,n))
File "/tmp/tmpmz6biv3a/tmp1or1iazj.py", line 1 i = 0 //???????????? ^ SyntaxError: invalid syntax
s558229444
p02396
u548155360
1487149345
Python
Python3
py
Runtime Error
0
0
132
i = 0 //???????????? while True: n = input() if n == 0: break i += 1//????????????????????? print('Case {} : {}'.format(i,n))
File "/tmp/tmp804wtk0a/tmpr5rly8e8.py", line 1 i = 0 //???????????? ^ SyntaxError: invalid syntax
s565212692
p02396
u548155360
1487149590
Python
Python3
py
Runtime Error
0
0
143
i = 0 //???????????? while True: n = map(int,input()) if n == 0: break i += 1//????????????????????? print('Case {} : {}'.format(i,n))
File "/tmp/tmprlfn6ese/tmpnsdbdnu0.py", line 1 i = 0 //???????????? ^ SyntaxError: invalid syntax
s613068896
p02396
u548155360
1487149695
Python
Python3
py
Runtime Error
0
0
141
i = 0 #???????????? while True: n = map(int,input()) if n == 0: break i += 1#????????????????????? print('Case {} : {}'.format(i,n))
Traceback (most recent call last): File "/tmp/tmpg72p2os8/tmp4tysarqn.py", line 4, in <module> n = map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s995254542
p02396
u339191823
1487588738
Python
Python3
py
Runtime Error
0
0
118
i=0 while True: i+=1 x=input() if x==0: break else: print ("Case "+str(i)+": "+str(x))
Traceback (most recent call last): File "/tmp/tmp0rsasptk/tmp6b12znht.py", line 4, in <module> x=input() ^^^^^^^ EOFError: EOF when reading a line
s114440416
p02396
u553058997
1487755319
Python
Python3
py
Runtime Error
0
0
68
while: a = input() if a == '0': break print('Case 1:', a)
File "/tmp/tmpsot47coo/tmpqj0rprur.py", line 1 while: ^ SyntaxError: invalid syntax
s934805363
p02396
u024715419
1488163149
Python
Python3
py
Runtime Error
0
0
97
i = 1 while True: n = input() if n == 0: break print("Case ",i,": ",n,sep="")
Traceback (most recent call last): File "/tmp/tmpp4lwax_8/tmpcg0vou9q.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s233799949
p02396
u775160104
1488189977
Python
Python3
py
Runtime Error
0
0
124
l = map(int, input().splitlines()) cnt = 0 while True: if l[cnt] == 0:break print ("Case%d: %d" &(cnt + 1, l[cnt] ))
Traceback (most recent call last): File "/tmp/tmpq7qyw78r/tmpetejs6hh.py", line 1, in <module> l = map(int, input().splitlines()) ^^^^^^^ EOFError: EOF when reading a line
s723826632
p02396
u130834228
1488724650
Python
Python3
py
Runtime Error
0
0
239
l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? i = 1 list = list(l) while(1): if list[i-1] != 0: print ("Case "+str(i)+": "+str(list[i-1])) i = i+1 else: break
Traceback (most recent call last): File "/tmp/tmpqfextx8d/tmpkx6yh74g.py", line 1, in <module> l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? ^^^^^^^ EOFError: EOF when reading a line
s136786230
p02396
u130834228
1488724713
Python
Python3
py
Runtime Error
0
0
239
l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? i = 1 list = list(l) while(1): if list[i-1] != 0: print ("Case "+str(i)+": "+str(list[i-1])) i = i+1 else: break
Traceback (most recent call last): File "/tmp/tmplpvbc_qx/tmpomgseejk.py", line 1, in <module> l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? ^^^^^^^ EOFError: EOF when reading a line
s967097347
p02396
u130834228
1488724762
Python
Python3
py
Runtime Error
0
0
151
l = map(int, input().split()) i = 1 list = list(l) while(1): if list[i-1] != 0: print ("Case "+str(i)+": "+str(list[i-1])) i = i+1 else: break
Traceback (most recent call last): File "/tmp/tmpjxq28zd_/tmpfqiw41vq.py", line 1, in <module> l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s899425299
p02396
u130834228
1488725588
Python
Python3
py
Runtime Error
0
0
257
while(1): l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? i = 1 li = list(l) while(1): if list[i-1] != 0: print ("Case "+str(i)+": "+str(list[i-1])) i = i+1 else: break
Traceback (most recent call last): File "/tmp/tmp9_n13hgk/tmp2y3q3si6.py", line 3, in <module> l = map(int, input().split()) #python2?????¨???????????§?????????python?????¨????????????????????§??????????????? ^^^^^^^ EOFError: EOF when reading a line
s497832011
p02396
u156091054
1488783228
Python
Python3
py
Runtime Error
0
0
131
import sys while True: x = sys.stdin.readline.strip() if x == "0": break print("Case %d: %s"%(i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmp7t7crxc2/tmpq05kyuzf.py", line 3, in <module> x = sys.stdin.readline.strip() ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'strip'