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
s406832035
p02396
u362494298
1505175379
Python
Python3
py
Runtime Error
0
0
119
count = 1 while True: x = input() if x == 0:break else: print("Case"count": "x) count += 1
File "/tmp/tmpz23cinqo/tmpoy4_ke70.py", line 7 print("Case"count": "x) ^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s402944124
p02396
u362494298
1505175783
Python
Python3
py
Runtime Error
0
0
96
count = 1 x = input() while x != "0": print("Case"count": "x) x = input() count += 1
File "/tmp/tmp10vdn5q0/tmpuxyfr_gd.py", line 4 print("Case"count": "x) ^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s164938695
p02396
u362494298
1505176145
Python
Python3
py
Runtime Error
0
0
105
count = 1 x = input() while x != "0": print("Case{}: {}".format(c, x)) x = input() count += 1
Traceback (most recent call last): File "/tmp/tmpo3qo_usz/tmpy5wigxdq.py", line 2, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s162497686
p02396
u972637506
1505288332
Python
Python3
py
Runtime Error
0
0
146
from itertools import count for i in count(1): s = input() if s = "0": break else: print("Case {}: {}".format(i, s))
File "/tmp/tmptrs4p5c2/tmp2c5uzfsa.py", line 6 if s = "0": ^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s135280487
p02396
u972637506
1505288385
Python
Python3
py
Runtime Error
0
0
179
from itertools import count ?? for i in count(1): ????????s = input() ?? ????????if s == "0": ????????????????break ????????else: ????????????????print("Case {}: {}".format(i, s))
File "/tmp/tmpy1ldqo_m/tmpcp7j24sw.py", line 2 ?? ^ SyntaxError: invalid syntax
s892593999
p02396
u972637506
1505288444
Python
Python3
py
Runtime Error
0
0
129
from itertools import count for i in count(1): if i == 10: break else: print("Case {}: {}".format(i, s))
Traceback (most recent call last): File "/tmp/tmplp1njxca/tmp1mbdi3mx.py", line 7, in <module> print("Case {}: {}".format(i, s)) ^ NameError: name 's' is not defined
s360508596
p02396
u664228906
1506324465
Python
Python3
py
Runtime Error
0
0
61
i = 0 while x=int(input()): i++ print("Case {i}:{x}", i, x)
File "/tmp/tmpt2tyykpi/tmpdtsrhni6.py", line 2 while x=int(input()): ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s285674561
p02396
u664228906
1506324511
Python
Python3
py
Runtime Error
0
0
67
i = 0 while x=int(input()): i = i + 1 print("Case {i}:{x}", i, x)
File "/tmp/tmpzxk4thnk/tmpfu3_2f3m.py", line 2 while x=int(input()): ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s686977559
p02396
u664228906
1506324640
Python
Python3
py
Runtime Error
0
0
72
i = 0 while x=int(input()) != 0: i = i + 1 print("Case {i}:{x}", i, x)
File "/tmp/tmpb0li1w2t/tmpoellz1oz.py", line 2 while x=int(input()) != 0: ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s929979778
p02396
u664228906
1506324685
Python
Python3
py
Runtime Error
0
0
74
i = 0 while x=int(input()) != 0: i = i + 1 print("Case " + i + ": " + x)
File "/tmp/tmpyx9a_7xt/tmp_x4hyh6o.py", line 2 while x=int(input()) != 0: ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s497004378
p02396
u664228906
1506324713
Python
Python3
py
Runtime Error
0
0
84
i = 0 while x=int(input()) != 0: i = i + 1 print("Case " + str(i) + ": " + str(x))
File "/tmp/tmpw0lg3xnz/tmpar6iv56o.py", line 2 while x=int(input()) != 0: ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s566056182
p02396
u664228906
1506325053
Python
Python3
py
Runtime Error
0
0
95
i=0 x=int(input()) while x=int(input()) != 0: i = i+1 print("Case " + str(i) + ": " + str(x))
File "/tmp/tmpq3bktzis/tmpovosayf4.py", line 3 while x=int(input()) != 0: ^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s842644137
p02396
u480053997
1506825703
Python
Python3
py
Runtime Error
0
0
132
for i, x in enumerate((input()).strip()): x = int(input()) if x == '0': break print('case ' + str(i) + ': ' + x)
Traceback (most recent call last): File "/tmp/tmpayurj_5v/tmpkym54qxl.py", line 1, in <module> for i, x in enumerate((input()).strip()): ^^^^^^^ EOFError: EOF when reading a line
s344948098
p02396
u256256172
1506934965
Python
Python3
py
Runtime Error
0
0
146
import sys sum = 1; for i in sys.stdin.strip(): if i != "0": print('Case {}: {}'.format(sum, i)) sum++ else: break
File "/tmp/tmpn4hspo0w/tmpstq2u37p.py", line 6 sum++ ^ SyntaxError: invalid syntax
s782604942
p02396
u256256172
1506935005
Python
Python3
py
Runtime Error
0
0
148
import sys sum = 1; for i in sys.stdin.strip(): if i != "0": print('Case {}: {}'.format(sum, i)) sum+= 1 else: break
Traceback (most recent call last): File "/tmp/tmp70dxmimd/tmp91gjfi26.py", line 3, in <module> for i in sys.stdin.strip(): ^^^^^^^^^^^^^^^ AttributeError: '_io.TextIOWrapper' object has no attribute 'strip'
s892797557
p02396
u505411588
1507716807
Python
Python3
py
Runtime Error
0
0
228
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
Traceback (most recent call last): File "/tmp/tmp7qo1o1qk/tmpvdhrjot5.py", line 2, in <module> args = sys.argv[1] ~~~~~~~~^^^ IndexError: list index out of range
s394841066
p02396
u505411588
1507717054
Python
Python3
py
Runtime Error
0
0
228
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
Traceback (most recent call last): File "/tmp/tmp62c8rtvt/tmp96bsemaa.py", line 2, in <module> args = sys.argv[1] ~~~~~~~~^^^ IndexError: list index out of range
s325959167
p02396
u505411588
1507717523
Python
Python3
py
Runtime Error
0
0
240
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()
Traceback (most recent call last): File "/tmp/tmpl5u1lasv/tmpisjxfnjq.py", line 2, in <module> args = sys.argv[1] ~~~~~~~~^^^ IndexError: list index out of range
s880038771
p02396
u043968625
1509263020
Python
Python3
py
Runtime Error
0
0
187
flag=0 i=0 while flag==0: num=input() if num==0 or num=="": flag=1 else: print("Case {0}: {1}".format(i + 1, num)) i = i + 1 num = int(input())
Traceback (most recent call last): File "/tmp/tmprjkyagj3/tmp4ib29s9w.py", line 4, in <module> num=input() ^^^^^^^ EOFError: EOF when reading a line
s158055563
p02396
u518939641
1509380904
Python
Python3
py
Runtime Error
0
0
124
s=list(map(int,input().split()) i=1 while true: if s[i-1]==0: break else print('Case '+str(i)+': '+str(s[i-1])) i+=1
File "/tmp/tmp9m9w36of/tmp2w9zmrnv.py", line 1 s=list(map(int,input().split()) ^ SyntaxError: '(' was never closed
s547407081
p02396
u518939641
1509380929
Python
Python3
py
Runtime Error
0
0
125
s=list(map(int,input().split())) i=1 while true: if s[i-1]==0: break else print('Case '+str(i)+': '+str(s[i-1])) i+=1
File "/tmp/tmpseui8yw_/tmp0unlffji.py", line 6 else ^ SyntaxError: expected ':'
s328366523
p02396
u518939641
1509381003
Python
Python3
py
Runtime Error
0
0
126
s=list(map(int,input().split())) i=1 while True: if s[i-1]==0: break else: print('Case '+str(i)+': '+str(s[i-1])) i+=1
Traceback (most recent call last): File "/tmp/tmpds5jk06r/tmpakprfu44.py", line 1, in <module> s=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s944149805
p02396
u518939641
1509381056
Python
Python3
py
Runtime Error
0
0
126
s=list(map(int,input().split())) i=1 while True: if s[i-1]==0: break else: print('Case '+str(i)+': '+str(s[i-1])) i+=1
Traceback (most recent call last): File "/tmp/tmpg9dgfgev/tmphmnyewn0.py", line 1, in <module> s=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s740160242
p02396
u518939641
1509457750
Python
Python3
py
Runtime Error
0
0
188
n=[] line='' i=0 while line != '0': line=input() if line != '0' n.append(int(line)) i+=1 print(i) for x in range(len(n)): print('Case %d: %d'%(x, n[x]))
File "/tmp/tmpx_inh1_0/tmpnp29fy0f.py", line 6 if line != '0' ^ SyntaxError: expected ':'
s700049320
p02396
u518939641
1509457793
Python
Python3
py
Runtime Error
0
0
189
n=[] line='' i=0 while line != '0': line=input() if line != '0' n.append(int(line)) i=i+1 print(i) for x in range(len(n)): print('Case %d: %d'%(x, n[x]))
File "/tmp/tmpdmkz2nsv/tmpmp49512h.py", line 6 if line != '0' ^ SyntaxError: expected ':'
s316443843
p02396
u102664642
1509458370
Python
Python3
py
Runtime Error
0
0
112
a = [] i = 0 while true: n = input() if n == 0: break a.append(n) print('Case {0}: {1}'.format(i,n))
Traceback (most recent call last): File "/tmp/tmpkwxrjx4q/tmplp5awh65.py", line 3, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s614044599
p02396
u102664642
1509458497
Python
Python3
py
Runtime Error
0
0
118
a = [] i = 0 while true: n = input() if n == 0: break a.append(n) print('Case {0}: {1}'.format(i,a)) i++
File "/tmp/tmpbjca954p/tmpw3e5ci21.py", line 9 i++ ^ SyntaxError: invalid syntax
s320686932
p02396
u102664642
1509637298
Python
Python3
py
Runtime Error
0
0
97
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}").format(i,n) i++
File "/tmp/tmpv3h_442i/tmpuuwazf3g.py", line 7 i++ ^ SyntaxError: invalid syntax
s749972142
p02396
u102664642
1509637685
Python
Python3
py
Runtime Error
0
0
100
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}").format(i,n) i += 1
Traceback (most recent call last): File "/tmp/tmphe4yigcx/tmptn3kltm3.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s593444743
p02396
u102664642
1509637855
Python
Python3
py
Runtime Error
0
0
100
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}".format(i,n)) i += 1
Traceback (most recent call last): File "/tmp/tmp0obz61zf/tmpuflfz26x.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s823554006
p02396
u521963900
1509762272
Python
Python3
py
Runtime Error
0
0
184
a = [] while True: num = int(input()) if n == 0: break a.append(n) count = 0 for i in a: count += 1 print("Case " + str(count) + ":" + str(n))
Traceback (most recent call last): File "/tmp/tmpp2zga1zb/tmpl2zbx59r.py", line 3, in <module> num = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s178828935
p02396
u521963900
1509765386
Python
Python3
py
Runtime Error
0
0
202
import sys for line in sys.stdin.readlines(): if line == 0: break else: count = 0 if i in line: count += 1 print("Case " + str(count) + ": " + str(line))
s236538605
p02396
u521963900
1509766063
Python
Python3
py
Runtime Error
0
0
163
N = [i for i in range(1, 10000)] count = 0 for i in N: if i == 0: break else: count += 1 print("Case " + str(count) + ": " + str(line))
Traceback (most recent call last): File "/tmp/tmp6at2eo81/tmpjmheoxyx.py", line 8, in <module> print("Case " + str(count) + ": " + str(line)) ^^^^ NameError: name 'line' is not defined. Did you mean: 'slice'?
s386659004
p02396
u521963900
1509773610
Python
Python3
py
Runtime Error
0
0
262
import sys a = [] for line in sys.stdin.readlines: count = 0 for j in line: a.append(j) for i in a: if i == 0: break else: count += 1 print("Case " + str(count) + ": " + str(i))
File "/tmp/tmpwqv8cl4q/tmp2b6ntcc_.py", line 7 a.append(j) ^ IndentationError: expected an indented block after 'for' statement on line 6
s564267508
p02396
u899891332
1510469364
Python
Python3
py
Runtime Error
0
0
109
for i in range(10000) line = int(input()) if line == 0: break print('Case {}:{}'.format(i+1, line))
File "/tmp/tmpikf9yw79/tmpuhb3rzld.py", line 1 for i in range(10000) ^ SyntaxError: expected ':'
s330873476
p02396
u899891332
1510469428
Python
Python3
py
Runtime Error
0
0
110
for i in range(10000) line = int(input()) if line == 0: break print('Case {}: {}'.format(i+1, line))
File "/tmp/tmpeyoldtra/tmpop9zmk6v.py", line 1 for i in range(10000) ^ SyntaxError: expected ':'
s848822575
p02396
u279483260
1510569478
Python
Python3
py
Runtime Error
0
0
113
while True: x = int(input()) if x == 0: break else: print("Case {}: {}".format(i, x))
Traceback (most recent call last): File "/tmp/tmpv5rrroar/tmpt49fea7z.py", line 2, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s088724351
p02396
u409699893
1510805385
Python
Python
py
Runtime Error
0
0
94
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %d(i,x[i]) i++
File "/tmp/tmp5p1vp9aw/tmphpt02nu2.py", line 3 while x[i] <> 0: ^^ SyntaxError: invalid syntax
s306837459
p02396
u409699893
1510805455
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %(i,x[i]) i += 1
File "/tmp/tmpcpk3e8a5/tmp_3kpkk0c.py", line 3 while x[i] <> 0: ^^ SyntaxError: invalid syntax
s143128589
p02396
u409699893
1510805473
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %(i,x[i]) i += 1
File "/tmp/tmpz5397uz3/tmpiy4vm8yn.py", line 3 while x[i] <> 0: ^^ SyntaxError: invalid syntax
s676433325
p02396
u409699893
1510805652
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %s: %s" %(i,x[i]) i += 1
File "/tmp/tmpt1weql3i/tmpzvuayucb.py", line 3 while x[i] <> 0: ^^ SyntaxError: invalid syntax
s479878139
p02396
u234837959
1510996639
Python
Python
py
Runtime Error
0
0
12
import numpy
s699829049
p02396
u045830275
1511147752
Python
Python3
py
Runtime Error
0
0
245
def main() : lst = list(map(int, input().split())) count = 1 for n in lst : if n == 0 : break else : print(f"case {count}: {n}") count += 1 if __name__ == '__main__' : main()
Traceback (most recent call last): File "/tmp/tmpj933aw29/tmp1zyieydw.py", line 14, in <module> main() File "/tmp/tmpj933aw29/tmp1zyieydw.py", line 2, in main lst = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s893188482
p02396
u045830275
1511147796
Python
Python3
py
Runtime Error
0
0
245
def main() : lst = list(map(int, input().split())) count = 1 for n in lst : if n == 0 : break else : print(f"case {count}: {n}") count += 1 if __name__ == '__main__' : main()
Traceback (most recent call last): File "/tmp/tmp67sd7lqy/tmpv2038q7z.py", line 14, in <module> main() File "/tmp/tmp67sd7lqy/tmpv2038q7z.py", line 2, in main lst = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s429919067
p02396
u780025254
1511531103
Python
Python3
py
Runtime Error
0
0
114
while True: x = int(input()) if x == 0: break print('Case {}: {}'.format(i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmpce5l4fq6/tmpn44ojk9i.py", line 2, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s955022523
p02396
u780025254
1511531248
Python
Python3
py
Runtime Error
0
0
114
while True: x = int(input()) if x == 0: break print('Case {}: {}'.format(i, x)) i += 1
Traceback (most recent call last): File "/tmp/tmpur460fes/tmpkqapdjm6.py", line 2, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s919227804
p02396
u744506422
1511852061
Python
Python3
py
Runtime Error
0
0
134
w="test" a=[] i=0 while(w!=""): w=input() a.append(w) a.remove("") for k in a: i+=1 print("Case {0}: {1}".format(i,k))
Traceback (most recent call last): File "/tmp/tmp9hwmywyc/tmpl5ovaddd.py", line 5, in <module> w=input() ^^^^^^^ EOFError: EOF when reading a line
s396671720
p02396
u217069758
1512181206
Python
Python3
py
Runtime Error
0
0
137
i = 1 while 1: x = input().int() if i > 10000 or x = 0 or (1 <= x <= 10000): break print('Case ' + str(i) + ': ' + x)
File "/tmp/tmpnqy_bxmw/tmp8a45v8_v.py", line 4 if i > 10000 or x = 0 or (1 <= x <= 10000): ^ SyntaxError: invalid syntax
s973302029
p02396
u706217959
1512799906
Python
Python3
py
Runtime Error
0
0
522
def main(): data = [] while 1: n = input().split() ans = int(n[0]) length = data.__len__() data.append(ans) if n == 0: break if length > 10001: print("Too Large") break else: for i in range(0,9999): d_val = data[i] if d_val != 0: print("Case{0}:{1}".format(i+1,d_val)) else: break if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpwcpmhju_/tmpbrfphg2o.py", line 25, in <module> main() File "/tmp/tmpwcpmhju_/tmpbrfphg2o.py", line 4, in main n = input().split() ^^^^^^^ EOFError: EOF when reading a line
s497697323
p02396
u706217959
1512800523
Python
Python3
py
Runtime Error
0
0
470
def main(): data = [] while 1: n = input().split() ans = int(n[0]) length = data.__len__() data.append(ans) if ans == 0: break if length > 10000: print("Too Large") else: for i in range(0,10000): d_val = data[i] if d_val != 0: print("Case{0}:{1}".format(i+1,d_val)) else: break if __name__ == '__main__': main(
File "/tmp/tmpw1fm0wyu/tmpk8dpak8u.py", line 24 main( ^ SyntaxError: '(' was never closed
s285841662
p02396
u150984829
1513050545
Python
Python3
py
Runtime Error
0
0
67
l=raw_input().split() for i in range(l): print(f"Case{i}: {l[i]}")
Traceback (most recent call last): File "/tmp/tmp9itffapj/tmp1ftyu2gu.py", line 1, in <module> l=raw_input().split() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s603940761
p02396
u150984829
1513050586
Python
Python3
py
Runtime Error
0
0
74
l=raw_input().split() for i in range(len(l)): print(f"Case{i+1}: {l[i]}")
Traceback (most recent call last): File "/tmp/tmp_ynosahd/tmpmmy25yeh.py", line 1, in <module> l=raw_input().split() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s565320658
p02396
u150984829
1513050705
Python
Python3
py
Runtime Error
0
0
118
a=[] while True: n = input() if n == 0: break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
File "/tmp/tmpoc4sj2zn/tmpyi2h0wiy.py", line 4 if n == 0: IndentationError: unexpected indent
s309093891
p02396
u150984829
1513050742
Python
Python3
py
Runtime Error
0
0
122
a=[] while True: n = raw_input() if n == 0: break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
File "/tmp/tmpslnvbymt/tmpcdjru4oj.py", line 4 if n == 0: IndentationError: unexpected indent
s620211141
p02396
u150984829
1513050750
Python
Python3
py
Runtime Error
0
0
124
a=[] while True: n = raw_input() if n == "0": break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
File "/tmp/tmpp9qo8zxb/tmp1v4gt1bj.py", line 4 if n == "0": IndentationError: unexpected indent
s379508314
p02396
u150984829
1513063191
Python
Python3
py
Runtime Error
0
0
116
a=[] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)) print(f'Case {i+1}: {a[i]}')
File "/tmp/tmpk7ex9aub/tmpkzzay4lq.py", line 7 for i in range(len(a)) ^ SyntaxError: expected ':'
s416707310
p02396
u150984829
1513063215
Python
Python3
py
Runtime Error
0
0
115
a=[] while True: n = input() if n == 0: break a.append(n) for i in range(len(a)) print(f'Case {i+1}: {a[i]}')
File "/tmp/tmph33ppfrx/tmp73egrcr_.py", line 7 for i in range(len(a)) ^ SyntaxError: expected ':'
s918294201
p02396
u150984829
1513063360
Python
Python3
py
Runtime Error
0
0
110
a=[] while True: n=input() if n==0: break a.append(n) for i in range(len(a)): print(f'Case {i+1}: {a[i]}')
Traceback (most recent call last): File "/tmp/tmpsqxr73vd/tmpyrfcjmkq.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s520018390
p02396
u150984829
1513063427
Python
Python3
py
Runtime Error
0
0
112
a=[] while True: n=input() if n==0: break a.append(n) for i in range(len(a)): print(f'Case {i+1}: {a[i]}')
Traceback (most recent call last): File "/tmp/tmpjh0i60ko/tmpxeczomlp.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s527657732
p02396
u150984829
1513082858
Python
Python3
py
Runtime Error
0
0
51
i=1 while s=int(input)!=0: print(f'Case {i}: {s}')
File "/tmp/tmpkdy6qq51/tmp_6s_g0tj.py", line 2 while s=int(input)!=0: ^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s131255386
p02396
u150984829
1513082901
Python
Python3
py
Runtime Error
0
0
69
i=1 while True: s=int(input) if s==0:break print(f'Case {i}: {s}')
Traceback (most recent call last): File "/tmp/tmpwkv5qyek/tmp0n20x5wu.py", line 3, in <module> s=int(input) ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s280643678
p02396
u150984829
1513108170
Python
Python3
py
Runtime Error
0
0
71
while 1: ??a=input() ??if int(a)==0:break print(f'Case {i+1}: {a[i]}')
File "/tmp/tmphuj29vx0/tmpwngzpr_b.py", line 2 ??a=input() ^ IndentationError: expected an indented block after 'while' statement on line 1
s760038619
p02396
u150984829
1513108195
Python
Python3
py
Runtime Error
0
0
79
i=1 while 1: ??a=input() ??if int(a)==0:break print(f'Case {i}: {a[i]}') i+=1
File "/tmp/tmpfuvldadi/tmptsnwwgc5.py", line 3 ??a=input() ^ IndentationError: expected an indented block after 'while' statement on line 2
s126534815
p02396
u150984829
1513108212
Python
Python3
py
Runtime Error
0
0
76
i=1 while 1: ??a=input() ??if int(a)==0:break print(f'Case {i}: {a}') i+=1
File "/tmp/tmpqsmsdl85/tmpgi7uczsu.py", line 3 ??a=input() ^ IndentationError: expected an indented block after 'while' statement on line 2
s078725415
p02396
u150984829
1513108242
Python
Python3
py
Runtime Error
0
0
71
i=1 while 1: ??a=input() ??if a==0:break print(f'Case {i}: {a}') i+=1
File "/tmp/tmp05950s97/tmpt2h8au6c.py", line 3 ??a=input() ^ IndentationError: expected an indented block after 'while' statement on line 2
s061314512
p02396
u150984829
1513108355
Python
Python3
py
Runtime Error
0
0
69
i=1 while 1: a=input() if a==0:break print(f'Case {i}: {a}') i+=1
Traceback (most recent call last): File "/tmp/tmp9fli73gk/tmpc_cv_zy_.py", line 3, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s328108404
p02396
u150984829
1513108505
Python
Python3
py
Runtime Error
0
0
84
import sys i=1 for s in sys.stdin: if s=='0\n':break print(f'Case {i}: {a}') i+=1
s489633962
p02396
u017523606
1513261595
Python
Python3
py
Runtime Error
0
0
156
count = 1 count = int(count) while True: num = input() if num == 0: break print('Case {0}: {1}'.format(count,num)) count = count + 1
Traceback (most recent call last): File "/tmp/tmp_4rulbyv/tmp79ygb7hj.py", line 4, in <module> num = input() ^^^^^^^ EOFError: EOF when reading a line
s348338993
p02396
u050511799
1514281604
Python
Python3
py
Runtime Error
0
0
134
count = 0 while true: count += 1 n = int(input()) if n == 0: break print('Case ' + str(count) + ' :' + str(n))
Traceback (most recent call last): File "/tmp/tmp10dwy9wx/tmputvojdvy.py", line 2, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s882221353
p02396
u365686736
1514635557
Python
Python3
py
Runtime Error
0
0
105
import sys a=1 for b in sys.stdin:b=b.strip() if b=="0":break print("Case %d: %s"%(a,b)) a+=1
File "/tmp/tmptwxiud53/tmp40kivj9k.py", line 4 if b=="0":break IndentationError: unexpected indent
s183875583
p02396
u365686736
1514635657
Python
Python3
py
Runtime Error
0
0
102
import sys a=1 for b in sys.stdin:b=b.strip() if b=="0":break print(f'Case {a}: {b}') a+=1
File "/tmp/tmpe6kahiea/tmp6rfdsfgd.py", line 4 if b=="0":break IndentationError: unexpected indent
s356081173
p02396
u365686736
1514635821
Python
Python3
py
Runtime Error
0
0
93
import sys a=1 for b in sys.stdin:b=b.strip() if b=='0':break print(f'Case {a}: {b}') a+=1
File "/tmp/tmppzj8nz2h/tmpnmptgefl.py", line 4 if b=='0':break IndentationError: unexpected indent
s102838012
p02396
u365686736
1514635960
Python
Python3
py
Runtime Error
0
0
93
import sys i=1 for a in sys.stdin:a=a.strip() if a=='0':break print(f'Case {i}: {a}') i+=1
File "/tmp/tmp936tkx1o/tmp83afrvy8.py", line 4 if a=='0':break IndentationError: unexpected indent
s332592626
p02396
u365686736
1514637287
Python
Python3
py
Runtime Error
0
0
179
newArray = [] x = input() while x != "0": newArray.append(x) x = input() for i in range(len(newArray)): print("Case {}:{}".format((str(i + 1)),(newArray[i]))
File "/tmp/tmpdmg_ppsi/tmpase1eyo0.py", line 10 print("Case {}:{}".format((str(i + 1)),(newArray[i])) ^ SyntaxError: '(' was never closed
s210192080
p02396
u365686736
1514637421
Python
Python3
py
Runtime Error
0
0
229
newArray = [] x = input() while x != "0": newArray.append(x) x = input() for i in range(len(newArray)): #print("Case " + str(i + 1) + ": " + newArray[i]) print("Case %d: %s"%((str(i + 1)),(newArray[i])))
Traceback (most recent call last): File "/tmp/tmpgan3x83d/tmpuu6ysre7.py", line 3, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s880026899
p02396
u365686736
1514638079
Python
Python3
py
Runtime Error
0
0
84
x=input() i=1 while x!=0: print("Case {}:{}".format(i,x)) x=input() i+=1
Traceback (most recent call last): File "/tmp/tmpa2a060gg/tmpcwaxvkny.py", line 1, in <module> x=input() ^^^^^^^ EOFError: EOF when reading a line
s190686755
p02396
u365686736
1514639647
Python
Python3
py
Runtime Error
0
0
92
x=int(input()) i=1 while x!="0": print("Case %d: %s" %(i,x)) x=int(input()) i+=1
Traceback (most recent call last): File "/tmp/tmp60sb7ezx/tmphklmz8s8.py", line 1, in <module> x=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s349413445
p02396
u100875060
1515233165
Python
Python3
py
Runtime Error
0
0
112
i = 0 while True: i += 1 n = input() if (n == 0): break print("Case " + str(i) + ": " + str(n))
Traceback (most recent call last): File "/tmp/tmp2e1uzgxl/tmp4fgshhz_.py", line 4, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s664911213
p02396
u874332113
1515341151
Python
Python3
py
Runtime Error
0
0
73
for i in range(10000): print("Case {}: {}".format(i+1, int(input()))
File "/tmp/tmpmiawmjsy/tmpihcchmvs.py", line 2 print("Case {}: {}".format(i+1, int(input())) ^ SyntaxError: '(' was never closed
s608279736
p02396
u113501470
1515792698
Python
Python3
py
Runtime Error
0
0
109
sentinel = '\n' cn=1 for line in iter(input, sentinel): print('Case {}: {}'.format(cn,line)) cn = cn + 1
Traceback (most recent call last): File "/tmp/tmp601qeu2_/tmpeg7avbo9.py", line 3, in <module> for line in iter(input, sentinel): EOFError: EOF when reading a line
s923537743
p02396
u179070318
1515921852
Python
Python3
py
Runtime Error
0
0
179
x = input() counter = 0 while True: if x == '0': break else: counter = counter+1 return('Case %d:%s' %(counter,x))
File "/tmp/tmposrlarzk/tmpagc26ga1.py", line 8 return('Case %d:%s' %(counter,x)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s937006921
p02396
u303842929
1516000400
Python
Python3
py
Runtime Error
0
0
159
i = 1 while True: case = input() print("Case "+str(i)+":"+case) if case == None: print("Case "+str(i)+":"+case) break i += 1
Traceback (most recent call last): File "/tmp/tmp3z8f3o8l/tmp042wmwir.py", line 3, in <module> case = input() ^^^^^^^ EOFError: EOF when reading a line
s420975726
p02396
u072855832
1516004753
Python
Python3
py
Runtime Error
0
0
135
count = 0 while true: set = int(input()) count +=1 if set == 0: break print('Case {}: {}'.format(count, set))
Traceback (most recent call last): File "/tmp/tmpvbnmgc69/tmpul03wn_w.py", line 2, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s287152582
p02396
u072855832
1516004802
Python
Python3
py
Runtime Error
0
0
118
i = 0 while True: x = int(input()) i +=1 if set == 0: break print('Case {}: {}'.format(i,x))
Traceback (most recent call last): File "/tmp/tmphscmj5so/tmp44s80t5j.py", line 3, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s668771638
p02396
u072855832
1516005066
Python
Python3
py
Runtime Error
0
0
136
count = 0 while True: set = int(input()): count +=1 if set == 0: break print('Case {0}:{1}'.format(count,set))
File "/tmp/tmpsrunvwc8/tmptt4z2l9j.py", line 3 set = int(input()): ^ SyntaxError: invalid syntax
s458035637
p02396
u506468108
1516118220
Python
Python3
py
Runtime Error
0
0
125
max = max(x) for i in range(max): if x[i] == 0: break else: print("Case {0}: {1}".format(i+1, x[i]))
Traceback (most recent call last): File "/tmp/tmpyp3tkb17/tmp1t85ddz9.py", line 1, in <module> max = max(x) ^ NameError: name 'x' is not defined
s625311725
p02396
u506468108
1516118736
Python
Python3
py
Runtime Error
0
0
142
num = 1 while True: x = int(input()) if x == 0: break else print ("Case {0}: {1}".format(num,x)) num += 1
File "/tmp/tmp0opaw11f/tmpfmpulwfk.py", line 6 else ^ SyntaxError: expected ':'
s163795212
p02396
u546968095
1516679113
Python
Python3
py
Runtime Error
0
0
120
i = 0 def printcase(n): i = i + 1 print("Case ", i, n) if __name__ == "__main__": ret = printcase(input())
Traceback (most recent call last): File "/tmp/tmpjk6976w2/tmpx1p3r74w.py", line 7, in <module> ret = printcase(input()) ^^^^^^^ EOFError: EOF when reading a line
s497249032
p02396
u546968095
1516684925
Python
Python3
py
Runtime Error
0
0
120
i = 0 def printcase(n): i = i + 1 print("Case ", i, n) if __name__ == "__main__": ret = printcase(input())
Traceback (most recent call last): File "/tmp/tmpj853rn07/tmpfjaylizq.py", line 7, in <module> ret = printcase(input()) ^^^^^^^ EOFError: EOF when reading a line
s380159157
p02396
u546968095
1516685610
Python
Python3
py
Runtime Error
0
0
117
i = 0 def printcase(): n = input() print("Case ",i": " ,n) if __name__ == "__main__": ret = printcase()
File "/tmp/tmp4085567k/tmp1p6u1qfc.py", line 4 print("Case ",i": " ,n) ^^^^ SyntaxError: invalid syntax
s588611091
p02396
u546968095
1516685892
Python
Python3
py
Runtime Error
0
0
146
i = 0 def printcase(): n = input() if n == 0: break print("Case",i ,":" ,n) if __name__ == "__main__": ret = printcase()
File "/tmp/tmp449e2kv1/tmp5nopnckm.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop
s007083678
p02396
u546968095
1516692318
Python
Python3
py
Runtime Error
0
0
194
def printcase(): i = 0 n = input() while n != 0: print("Case",i ,":" ,n) n = input() i = i + 1 return 0 if __name__ == "__main__": ret = printcase()
Traceback (most recent call last): File "/tmp/tmp4jdak7dq/tmptlqrzqok.py", line 11, in <module> ret = printcase() ^^^^^^^^^^^ File "/tmp/tmp4jdak7dq/tmptlqrzqok.py", line 3, in printcase n = input() ^^^^^^^ EOFError: EOF when reading a line
s336229377
p02396
u639135641
1516713927
Python
Python3
py
Runtime Error
0
0
156
### Repetitive Processing - Print Test Cases i = 0 while True: x = int(input()); i += 1 if x == 0: break print("Case {}: {}".format(c, i))
Traceback (most recent call last): File "/tmp/tmp3neoo268/tmp1bs3v2u4.py", line 5, in <module> x = int(input()); ^^^^^^^ EOFError: EOF when reading a line
s481059286
p02396
u177808190
1517067566
Python
Python3
py
Runtime Error
0
0
41
a=list() while True: a.append(input())
Traceback (most recent call last): File "/tmp/tmp04w24462/tmp2lma5udm.py", line 3, in <module> a.append(input()) ^^^^^^^ EOFError: EOF when reading a line
s111224780
p02396
u177808190
1517068100
Python
Python3
py
Runtime Error
0
0
150
a = list() while True: n = input() if n == 0: break a.append(n) for i in range(len(a)): print ('case {}: {}'.format(i, a[i]))
Traceback (most recent call last): File "/tmp/tmp4ifxhmp8/tmp1_46ih1i.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s092712758
p02396
u177808190
1517068270
Python
Python3
py
Runtime Error
0
0
124
a = list() c = 1 while True: n = input() if n == 0: break print ('case {}: {}'.format(c, n)) c += 1
Traceback (most recent call last): File "/tmp/tmpjo6cmvpr/tmppy2umf00.py", line 4, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s867386412
p02396
u177808190
1517068439
Python
Python3
py
Runtime Error
0
0
113
c = 1 while True: n = input() if n == 0: break print ('case {}: {}'.format(c, n)) c += 1
Traceback (most recent call last): File "/tmp/tmpnuirs9xj/tmpz9vj2hkz.py", line 3, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s743649955
p02396
u640809202
1517667100
Python
Python3
py
Runtime Error
0
0
75
n=0 while i = input() != "0": n++ print("Case " + str(n) + ":" +i)
File "/tmp/tmpvpy_2gnp/tmp5rrmgx9q.py", line 2 while i = input() != "0": ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s265440102
p02396
u640809202
1517667162
Python
Python3
py
Runtime Error
0
0
76
n=0 while i = input() != "0": n+=1 print("Case " + str(n) + ":" +i)
File "/tmp/tmp41nstrg2/tmpwpa655vc.py", line 2 while i = input() != "0": ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s793023987
p02396
u640809202
1517667190
Python
Python3
py
Runtime Error
0
0
76
n=0 while i = input() != "0": n+=1 print("Case " + str(n) + ":" +i)
File "/tmp/tmpsw0hlnyj/tmpzt2icrgo.py", line 2 while i = input() != "0": ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?