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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s096863351 | p02396 | u640809202 | 1517667388 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | n=0
i = int(input())
while i != 0:
n+=1
print("Case " + str(n) + ":" +i)
i int(input())
| File "/tmp/tmpxntrqevm/tmp4jx7sx89.py", line 6
i int(input())
^^^
SyntaxError: invalid syntax
| |
s612170623 | p02396 | u640809202 | 1517667415 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | n=0
i = int(input())
while i != 0:
n+=1
print("Case " + str(n) + ":" +i)
i = int(input())
| Traceback (most recent call last):
File "/tmp/tmpgvph2fgy/tmp_ntbjcet.py", line 2, in <module>
i = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s668487024 | p02396 | u798565376 | 1517684198 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | l = list(map(int, input().split(\r)))
for i in range(1, len(l)):
if not l[i - 1] ==0:
print('Case {}: {}'.format(i, l[i - 1]))
| File "/tmp/tmph6ar18z1/tmpzlniaivi.py", line 1
l = list(map(int, input().split(\r)))
^
SyntaxError: unexpected character after line continuation character
| |
s149036503 | p02396 | u798565376 | 1517685094 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | l = list(map(int, input().splitlines()))
for i in range(1, len(l) + 1):
if l[i - 1] != 0:
print('Case {}: {}'.format(i, l[i - 1]))
else:
return
| File "/tmp/tmpo2eez2o3/tmp95xwvybw.py", line 6
return
^^^^^^
SyntaxError: 'return' outside function
| |
s295585241 | p02396 | u313021086 | 1518181723 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | a = int(input())
i = 0
while a != 0:
print("Case " + i + ": " + a)
i += 1
a = int(input())
| Traceback (most recent call last):
File "/tmp/tmp7tjph2n4/tmp_ifq7kcs.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s245801480 | p02396 | u429841998 | 1518397726 | Python | Python3 | py | Runtime Error | 0 | 0 | 234 | x = []
a = 0
while True:
x.append(int(input()))
if x[a] == 0 or a == 9999:
break
a += 1
i = 0
while True:
if x[i] == 0 or i == 10000:
break
print('Case ' + str(i + 1) + ': ' + str(x[i]))
i += 1
| Traceback (most recent call last):
File "/tmp/tmpg4g2xhpa/tmpytfctdwq.py", line 4, in <module>
x.append(int(input()))
^^^^^^^
EOFError: EOF when reading a line
| |
s093148507 | p02396 | u373340964 | 1519118652 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | i = 1
while True:
x = int(input())
if x == 0:
break
print("Case {i}:{x}".format(i, x))
| Traceback (most recent call last):
File "/tmp/tmplpklblv3/tmppegzjnbu.py", line 3, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s720306670 | p02396 | u373340964 | 1519118739 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | i = 1
while True:
x = int(input())
if x == 0:
break
print("Case {i}: {x}".format(i, x))
i += 1
| Traceback (most recent call last):
File "/tmp/tmppax960if/tmp6x3f48h8.py", line 3, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s008264252 | p02396 | u641082901 | 1519660499 | Python | Python3 | py | Runtime Error | 0 | 0 | 76 | c = 1
while True :
print("Case {0}: {1}".format(c, input()))
c += 1
| Traceback (most recent call last):
File "/tmp/tmpuii8bth4/tmp9o3kgx_i.py", line 3, in <module>
print("Case {0}: {1}".format(c, input()))
^^^^^^^
EOFError: EOF when reading a line
| |
s102335634 | p02396 | u613534067 | 1520131964 | Python | Python3 | py | Runtime Error | 0 | 0 | 172 | import sys
lines = sys.stdin.readlines()
for i in range(lines):
a = int(lines[i])
if(a == 0):
break
else:
print("Case {0}: {1}".format(i+1, a))
| Traceback (most recent call last):
File "/tmp/tmp12326w0h/tmpurt6awel.py", line 3, in <module>
for i in range(lines):
^^^^^^^^^^^^
TypeError: 'list' object cannot be interpreted as an integer
| |
s330702347 | p02396 | u613534067 | 1520131985 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | import sys
lines = sys.stdin.readlines()
for i in range(lines.len):
a = int(lines[i])
if(a == 0):
break
else:
print("Case {0}: {1}".format(i+1, a))
| Traceback (most recent call last):
File "/tmp/tmpscczmovg/tmpp4jvqr32.py", line 3, in <module>
for i in range(lines.len):
^^^^^^^^^
AttributeError: 'list' object has no attribute 'len'
| |
s204097846 | p02396 | u613534067 | 1520131997 | Python | Python3 | py | Runtime Error | 0 | 0 | 179 | import sys
lines = sys.stdin.readlines()
for i in range(lines.length):
a = int(lines[i])
if(a == 0):
break
else:
print("Case {0}: {1}".format(i+1, a))
| Traceback (most recent call last):
File "/tmp/tmpth5kheot/tmpqbjpl4hm.py", line 3, in <module>
for i in range(lines.length):
^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'length'
| |
s417320731 | p02396 | u005739171 | 1520229382 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | a = []
x = 1
while True:
n = input()
if n == 0:
break
a.append(n)
x += 1
print ("Case",x,":",a)
| Traceback (most recent call last):
File "/tmp/tmpwbcv081n/tmpbizsp2by.py", line 4, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s669775518 | p02396 | u017435045 | 1520751572 | Python | Python3 | py | Runtime Error | 0 | 0 | 76 | while True:
x=int(input())
print(x)
if x=0:
break
| File "/tmp/tmp1kmboxim/tmp8v_m3t1p.py", line 4
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s564847216 | p02396 | u017435045 | 1520751605 | Python | Python3 | py | Runtime Error | 0 | 0 | 65 | while True:
x=int(input())
print(x)
if x=0:
break
| File "/tmp/tmpzhfltyew/tmpecsgs49u.py", line 4
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s371416836 | p02396 | u507758132 | 1521101556 | Python | Python3 | py | Runtime Error | 0 | 0 | 71 | cnt = 1
c = input()
while c != 0:
print(cnt,c)
c = input()
cnt += 1
| Traceback (most recent call last):
File "/tmp/tmpm_649d6q/tmp21_qg5mt.py", line 2, in <module>
c = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s072076777 | p02396 | u507758132 | 1521101586 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | cnt = 1
c = raw_input()
while c != 0:
print(cnt,c)
c = raw_input()
cnt += 1
| Traceback (most recent call last):
File "/tmp/tmpkxvsiebr/tmpp4hccz4s.py", line 2, in <module>
c = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s501486051 | p02396 | u507758132 | 1521101732 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | cnt = 1
c = int(input())
while c != 0:
print(Case,cnt,:,c)
c = int(input())
cnt += 1
| File "/tmp/tmpcwidg7vu/tmpnx_n077b.py", line 4
print(Case,cnt,:,c)
^
SyntaxError: invalid syntax
| |
s763133728 | p02396 | u507758132 | 1521101832 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | cnt = 1
c = int(input())
while c != 0:
print("Case {0}: {1}".format(cnt).format(c))
c = int(input())
cnt += 1
| Traceback (most recent call last):
File "/tmp/tmpy067e_l5/tmpa8_9v2wv.py", line 2, in <module>
c = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s387000479 | p02396 | u566311709 | 1521277081 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | a = []
while True:
n = int(input())
if n == 0:
break
a.append(n)
for i in range(len(a)):
print("Case {0}: {1}".format(i + 1, a[i]))
| File "/tmp/tmp6wuzf08b/tmpfplm0rgh.py", line 6
a.append(n)
IndentationError: unexpected indent
| |
s699273353 | p02396 | u566311709 | 1521277113 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | a = []
while True:
n = int(input())
if n == 0:
break
a.append(n)
for i in range(len(a)):
print("Case {0}: {1}".format(i + 1, a[i]))
| File "/tmp/tmpt728v1wf/tmpikz7i18p.py", line 6
a.append(n)
IndentationError: unexpected indent
| |
s709958632 | p02396 | u648117624 | 1521363630 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | #coding: UTF-8
x = input()
i = 1
while x !=0:
print('Case '+i+': '+x)
i +=1
| Traceback (most recent call last):
File "/tmp/tmp8xvweo54/tmp8d6j584t.py", line 3, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s412211172 | p02396 | u648117624 | 1521363732 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | #coding: UTF-8
x=input()
i=1
while x !='0':
print('Case '+i+': '+x)
i +=1
| Traceback (most recent call last):
File "/tmp/tmpwkzd8n5r/tmpwbmtx12g.py", line 3, in <module>
x=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s197567040 | p02396 | u464859367 | 1521758493 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | while True:
n = 1
if input() == 0:
break
print("Case " + n + ": " + str(input()))
n+=1
| Traceback (most recent call last):
File "/tmp/tmpj32jen2v/tmpy43mz6ni.py", line 3, in <module>
if input() == 0:
^^^^^^^
EOFError: EOF when reading a line
| |
s726985429 | p02396 | u464859367 | 1521758577 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | n = 1
while True:
if int(input()) == 0:
break
print("Case " + n + ": " + str(input()))
n+=1
| Traceback (most recent call last):
File "/tmp/tmp677or7mm/tmpm5v0pzv1.py", line 3, in <module>
if int(input()) == 0:
^^^^^^^
EOFError: EOF when reading a line
| |
s240003192 | p02396 | u621084859 | 1522375002 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | h = 0
while True:
x = int(input());
h += 1
if x == 0:
break
print("Case {}: {}".format(c, x))
| File "/tmp/tmpr2p8v7z5/tmpvr_aeuor.py", line 4
h += 1
^
IndentationError: unindent does not match any outer indentation level
| |
s379454919 | p02396 | u621084859 | 1522387350 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | h=1
x=int(input())
while x>=0:
print('"case" {} :{}'.format(h,x))
x= int(input())
h+=1
| Traceback (most recent call last):
File "/tmp/tmpw8z7lsdf/tmpux3ic3x4.py", line 2, in <module>
x=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s550625885 | p02396 | u621084859 | 1522388299 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | i=1
x=int(input())
while x > 0:
print("case {0}: {1}".format(h, x))
x = int(input())
i+=1
| Traceback (most recent call last):
File "/tmp/tmpasoajitf/tmpergq3qqn.py", line 2, in <module>
x=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s422342652 | p02396 | u002193969 | 1522461195 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | i = 0
while input() != 0:
i += 1
print('Case ',i,': ',input(),sep='')
| Traceback (most recent call last):
File "/tmp/tmp1f7p6aw9/tmp6l52zb8j.py", line 2, in <module>
while input() != 0:
^^^^^^^
EOFError: EOF when reading a line
| |
s601146614 | p02396 | u886729200 | 1522679459 | Python | Python3 | py | Runtime Error | 0 | 0 | 246 | x = []
while(1):
inp = int(input())
if inp !=0:
x.append(inp)
else:
x.append(inp)
break
print(x)
j=0
while(1):
if(x[j]!=0):
print("Case {} : {}".format(i,x[j]))
j+=1
else:
break
| Traceback (most recent call last):
File "/tmp/tmpp2a7u3xj/tmpubzlrnde.py", line 3, in <module>
inp = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s205936506 | p02396 | u405987720 | 1522855630 | Python | Python | py | Runtime Error | 0 | 0 | 126 | j = 0
While(True):
i = int(raw_input())
j += 1
if i != 0:
print("Case " + str(j) + ": " + str(i))
else:
break
| File "/tmp/tmpra8x1f1y/tmpy0cla2u9.py", line 2
While(True):
^
SyntaxError: invalid syntax
| |
s603234123 | p02396 | u405987720 | 1522855712 | Python | Python | py | Runtime Error | 0 | 0 | 140 | j = 0
While(True):
temp = raw_input()
i = int(temp)
j += 1
if i != 0:
print("Case " + str(j) + ": " + str(i))
else:
break
| File "/tmp/tmpjhcyfhyj/tmpym_vt_1e.py", line 2
While(True):
^
SyntaxError: invalid syntax
| |
s696589136 | p02396 | u682153677 | 1522992820 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | # -*- coding: utf-8 -*-
a = []
while True:
n = input()
if n == 0:
break
a.append(n)
for i in len(a):
print('Case%s: %s' %(i + 1, a[i]))
| Traceback (most recent call last):
File "/tmp/tmpfe46iil_/tmpp2vw5y4f.py", line 4, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s447297824 | p02396 | u682153677 | 1523073674 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | 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/tmp9g4zd46d/tmpzbzx7qr_.py", line 3, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s336450786 | p02396 | u359372421 | 1523352161 | Python | Python3 | py | Runtime Error | 0 | 0 | 43 | while True:
print("Case 1: " + input())
| Traceback (most recent call last):
File "/tmp/tmp7cf7byjd/tmprotpcbbu.py", line 2, in <module>
print("Case 1: " + input())
^^^^^^^
EOFError: EOF when reading a line
| |
s194729105 | p02396 | u244493040 | 1523630380 | Python | Python3 | py | Runtime Error | 0 | 0 | 49 | i = 1
while x = input(): print('Case ' i ': ' x)
| File "/tmp/tmpn5kz0d5m/tmptaem812x.py", line 2
while x = input(): print('Case ' i ': ' x)
^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s241801682 | p02396 | u244493040 | 1523630518 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | i = 1
while 1:
x = input()
if !x: break
print('Case ' i ': ' x)
i += 1
| File "/tmp/tmp2zz0kng3/tmpgnb852xu.py", line 4
if !x: break
^
SyntaxError: invalid syntax
| |
s153267361 | p02396 | u244493040 | 1523630641 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | i = 1
while 1:
x = input()
if !x: break
print('Case ' i ': ' x)
i += 1
| File "/tmp/tmpwilbziuy/tmp4m94s80u.py", line 4
if !x: break
^
SyntaxError: invalid syntax
| |
s452155148 | p02396 | u244493040 | 1523630683 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | i = 1
while 1:
x = int(input())
if !x: break
print('Case ' i ': ' x)
i += 1
| File "/tmp/tmpkl4j41pk/tmp93qs1khj.py", line 4
if !x: break
^
SyntaxError: invalid syntax
| |
s710849352 | p02396 | u244493040 | 1523630794 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | i = 1
while 1:
x = int(input())
if x==0: break
print('Case ' i ': ' x)
i += 1
| File "/tmp/tmp_78s3v3r/tmpdlm8pyhb.py", line 5
print('Case ' i ': ' x)
^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s221896789 | p02396 | u244493040 | 1523630803 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | i = 1
while true:
x = int(input())
if x==0: break
print('Case ' i ': ' x)
i += 1
| File "/tmp/tmpw36hrppg/tmp_9ntyx1p.py", line 5
print('Case ' i ': ' x)
^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s437615200 | p02396 | u244493040 | 1523630896 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | i = 1
while true:
x = int(input())
if x==0: break
print('Case {}: {}'.format(i,x))
i += 1
| Traceback (most recent call last):
File "/tmp/tmpuxw34wyl/tmpiy95ch3l.py", line 2, in <module>
while true:
^^^^
NameError: name 'true' is not defined. Did you mean: 'True'?
| |
s249688360 | p02396 | u244493040 | 1523631022 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | i = 1
while True:
x = int(input())
if !x: break
print("Case {}: {}".format(i, x))
i+=1
| File "/tmp/tmp4o9kihpr/tmpugwkf4k2.py", line 4
if !x: break
^
SyntaxError: invalid syntax
| |
s217563650 | p02396 | u244493040 | 1523631176 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | i = 1
while True:
x = int(input())
if x: print("Case {}: {}".format(i, x)) else brek
i+=1
| File "/tmp/tmpsrwkebz9/tmpdn4u2alk.py", line 4
if x: print("Case {}: {}".format(i, x)) else brek
^^^^
SyntaxError: invalid syntax
| |
s763245542 | p02396 | u244493040 | 1523631182 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | i = 1
while True:
x = int(input())
if x: print("Case {}: {}".format(i, x)) else break
i+=1
| File "/tmp/tmp96jqje94/tmp1khgnwf3.py", line 4
if x: print("Case {}: {}".format(i, x)) else break
^^^^
SyntaxError: invalid syntax
| |
s306977264 | p02396 | u244493040 | 1523631249 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | i = 1
while 1:
if not (x = int(input())): break
print("Case {}: {}".format(i, x))
i+=1
| File "/tmp/tmptd2s3qwj/tmp_kha17hj.py", line 3
if not (x = int(input())): break
^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s503798146 | p02396 | u244493040 | 1523631492 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | i,x = 0,input()
while x != 0':
print("Case ' i ': ' x)
i,x = i+1, input()
| File "/tmp/tmp80br4gkx/tmpbfa7ea9j.py", line 2
while x != 0':
^
SyntaxError: unterminated string literal (detected at line 2)
| |
s643180012 | p02396 | u244493040 | 1523631526 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | i,x = 0,input()
while x != 0':
print('Case ' i ': ' x)
i,x = i+1, input()
| File "/tmp/tmp_hq2oqsg/tmpj7ssu_7k.py", line 2
while x != 0':
^
SyntaxError: unterminated string literal (detected at line 2)
| |
s135413215 | p02396 | u244493040 | 1523631566 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | i = 0
x = input()
while x != 0':
print('Case ' i ': ' x)
i+=1
x = input()
| File "/tmp/tmpcq09tmt3/tmp0qm3d8rg.py", line 3
while x != 0':
^
SyntaxError: unterminated string literal (detected at line 3)
| |
s702938000 | p02396 | u244493040 | 1523631589 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | i = 0
x = input()
while x != '0':
print('Case ' i ': ' x)
x = input()
i+=1
| File "/tmp/tmpks7k6j9c/tmp6xkp9az1.py", line 4
print('Case ' i ': ' x)
^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s680802689 | p02396 | u244493040 | 1523631623 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | i = 0
x = input()
while x != "0":
print('Case ' i ': ' x)
x = input()
i+=1
| File "/tmp/tmp52c8mg3z/tmph34vmear.py", line 4
print('Case ' i ': ' x)
^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s296135102 | p02396 | u244493040 | 1523631663 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | i = 0
x = input()
while x != "0":
print('Case ' str(i) ': ' x)
x = input()
i+=1
| File "/tmp/tmp8ipemfcf/tmp4dfeuhnc.py", line 4
print('Case ' str(i) ': ' x)
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s912453563 | p02396 | u244493040 | 1523631908 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | i,x = '1',input()
while x != "0":
print('Case '+i+': '+x)
i,x = i+1,input()
| Traceback (most recent call last):
File "/tmp/tmprxe4p7t2/tmprjq2qros.py", line 1, in <module>
i,x = '1',input()
^^^^^^^
EOFError: EOF when reading a line
| |
s828801774 | p02396 | u843169619 | 1523873633 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 |
num = 1
While = True:
x = int(input())
if x == 0: break
print ("Case {0}: {1}".format(num,x))
num += 1
| File "/tmp/tmpvylpa47a/tmpjhh9jitf.py", line 4
While = True:
^
SyntaxError: invalid syntax
| |
s417645420 | p02396 | u843169619 | 1523873830 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 |
num = 1
While True:
x = int(input())
if x == 0: break
print ("Case {0}: {1}".format(num,x))
num += 1
| File "/tmp/tmp0nujy02r/tmp6_gh5kqn.py", line 4
While True:
^^^^
SyntaxError: invalid syntax
| |
s372380133 | p02396 | u592529978 | 1524112455 | Python | Python | py | Runtime Error | 0 | 0 | 67 | x = map(int,raw_input().split())
for i in x
print "case i : x"
| File "/tmp/tmpqkubti7u/tmpdsfnwa3b.py", line 2
for i in x
^
SyntaxError: expected ':'
| |
s777038452 | p02396 | u074747865 | 1524124088 | Python | Python3 | py | Runtime Error | 0 | 0 | 47 | for i in input():
print(Case i: int(input()))
| File "/tmp/tmp5m0mku1o/tmp1debqdpq.py", line 2
print(Case i: int(input()))
^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s906080583 | p02396 | u589139267 | 1524180934 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | i=1
while (True)
x = int(input())
if (x == 0)
break
else
print(Case %d:%d; i, x)
i + 1 = i
| File "/tmp/tmpqatloleg/tmp7aq9q05p.py", line 2
while (True)
^
SyntaxError: expected ':'
| |
s129380184 | p02396 | u589139267 | 1524181925 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | i = 1
while True:
x = int(input())
if x==0:
break
else:
print("Case %d: %d".format(i,x))
i += 1
| File "/tmp/tmpj9vwkah1/tmp2vf483d9.py", line 3
x = int(input())
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s346090976 | p02396 | u589139267 | 1524182146 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | i = 1
while True:
x = int(input())
if x == 0:
break
else:
print("Case %d: %d".format(i,x))
i += 1
| File "/tmp/tmprbxy1kfj/tmpp08bo38n.py", line 3
x = int(input())
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s560645311 | p02396 | u592529978 | 1524189870 | Python | Python | py | Runtime Error | 0 | 0 | 109 | i=0
while 1:
x = int(input())
if x==0 : break
i+=1
print "case %d: %d" %(i,x)
break
| File "/tmp/tmpxx0uf93h/tmp4vjliukj.py", line 6
print "case %d: %d" %(i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s330607522 | p02396 | u648117624 | 1524201375 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | c = 0
while True:
x = int(input()) ; c +=1
if x == 0:
break
else:
print("Case {}: {}.format(c, x))
| File "/tmp/tmpq6d1rpwh/tmp31plw73_.py", line 8
print("Case {}: {}.format(c, x))
^
SyntaxError: unterminated string literal (detected at line 8)
| |
s463751638 | p02396 | u648117624 | 1524201411 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | c = 0
while True:
x = int(input()) ; c +=1
if x == 0:
break
print("Case {}: {}.format(c, x))
| File "/tmp/tmpj78cmepf/tmp10ujjcrf.py", line 9
print("Case {}: {}.format(c, x))
^
SyntaxError: unterminated string literal (detected at line 9)
| |
s482730623 | p02396 | u648117624 | 1524201585 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | c = 0
while True:
x = int(input())
c +=1
if x == 0:
break
print("Case {}: {}".format(c, x))
| File "/tmp/tmp2o28n1eh/tmpymy9sdom.py", line 5
c +=1
^
SyntaxError: invalid non-printable character U+3000
| |
s113609557 | p02396 | u648117624 | 1524201619 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | c = 0
while True:
x = int(input()) ; c +=1
if x == 0:
break
print("Case {}: {}".format(c, x))
| File "/tmp/tmp6y262nwa/tmp2biab6nf.py", line 4
x = int(input()) ; c +=1
^
SyntaxError: invalid non-printable character U+3000
| |
s524026272 | p02396 | u648117624 | 1524201651 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | c = 0
while True:
x = int(input()) ; c +=1
if x == 0:
break
print("Case {}: {}).format(c, x))
| File "/tmp/tmpt9bn0u95/tmp54v00o4f.py", line 9
print("Case {}: {}).format(c, x))
^
SyntaxError: unterminated string literal (detected at line 9)
| |
s104024218 | p02396 | u485986915 | 1524296404 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | x = list(map(int,input().split()))
n = 1
if x>0:
print("case",n,":",x[n])
n = n+1
| Traceback (most recent call last):
File "/tmp/tmpgccx65eb/tmph9lqt8_h.py", line 1, in <module>
x = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s068229451 | p02396 | u485986915 | 1524300249 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | n = 1
x = int(input())
while x != 0 :
print("Case {}:{}".format(n,x)
n = n+1
x = int(input())
| File "/tmp/tmpllf6q3n4/tmpdeo44x5w.py", line 4
print("Case {}:{}".format(n,x)
^
SyntaxError: '(' was never closed
| |
s961467067 | p02396 | u485986915 | 1524300264 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | n = 1
x = int(input())
while x != 0 :
print("Case {}:{}".format(n,x)
n = n+1
x = int(input())
| File "/tmp/tmp1zied2eo/tmp1dzyirxr.py", line 4
print("Case {}:{}".format(n,x)
^
SyntaxError: '(' was never closed
| |
s092191455 | p02396 | u485986915 | 1524300360 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | n = 1
x = int(input())
while x != 0 :
print("Case {} : {}".format(n,x)
n = n+1
x = int(input())
| File "/tmp/tmphwzk7fks/tmpe1_plit1.py", line 4
print("Case {} : {}".format(n,x)
^
SyntaxError: '(' was never closed
| |
s371792905 | p02396 | u836133197 | 1524489650 | Python | Python3 | py | Runtime Error | 0 | 0 | 129 | count = 0
while true:
count += 1
a = int(input())
if a == 0:
break
print("Case {}: {}".format(count, a))
| Traceback (most recent call last):
File "/tmp/tmpwsdgt75_/tmpro0sk4fz.py", line 2, in <module>
while true:
^^^^
NameError: name 'true' is not defined. Did you mean: 'True'?
| |
s148091162 | p02396 | u729486845 | 1524584468 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | i = 1
while True:
x=map(int,input())
if x=False:
break
print("case ", i , ": ", x)
| File "/tmp/tmpwtqrnjk3/tmpsyud0jwh.py", line 5
if x=False:
^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s218637294 | p02396 | u908651435 | 1524744147 | Python | Python3 | py | Runtime Error | 0 | 0 | 76 | x=1
while True:
i=input()
print('case {}: {}'.format(x,i))
x+=1
| Traceback (most recent call last):
File "/tmp/tmpodxj_kx3/tmp6ouzjn5z.py", line 3, in <module>
i=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s604030360 | p02396 | u908651435 | 1524744404 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | x=1
while True:
i=input()
print('case {}: {}'.format(x,i))
x+=1
if i==0:
break
| Traceback (most recent call last):
File "/tmp/tmppnimn5_r/tmpsep4gn59.py", line 3, in <module>
i=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s720745338 | p02396 | u908651435 | 1524744599 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | i=1
x = int(input())
while x != 0 :
print("Case {0}: {1}".format(i, x))
x = int(input())
i=i+
| File "/tmp/tmpzt4_dh6a/tmp9wxynr46.py", line 6
i=i+
^
SyntaxError: invalid syntax
| |
s287180583 | p02396 | u781194524 | 1524813524 | Python | Python3 | py | Runtime Error | 0 | 0 | 65 | i=1
while input()!=0
print("Case " i,":",input())
i += 1
| File "/tmp/tmpfi80xcs6/tmpe_07l4tk.py", line 2
while input()!=0
^
SyntaxError: expected ':'
| |
s196233667 | p02396 | u781194524 | 1524813549 | Python | Python3 | py | Runtime Error | 0 | 0 | 66 | i=1
while input()!=0
print("Case " ,i,":",input())
i += 1
| File "/tmp/tmp0as3pcbl/tmpy6p0h549.py", line 2
while input()!=0
^
SyntaxError: expected ':'
| |
s357190609 | p02396 | u781194524 | 1524813594 | Python | Python3 | py | Runtime Error | 0 | 0 | 68 | i=1
while input()!=0:
print("Case " ,i,":",input())
i += 1
| Traceback (most recent call last):
File "/tmp/tmp3_vwe3h0/tmpwb7auxax.py", line 2, in <module>
while input()!=0:
^^^^^^^
EOFError: EOF when reading a line
| |
s822645283 | p02396 | u781194524 | 1524813627 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | i=1
while input()!=0:
print("Case " ,i,":",int(input()))
i += 1
| Traceback (most recent call last):
File "/tmp/tmp5pwp50u6/tmpqbqgimwh.py", line 2, in <module>
while input()!=0:
^^^^^^^
EOFError: EOF when reading a line
| |
s267160374 | p02396 | u781194524 | 1524813740 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | i=1
while input()!=0:
x = int(input())
print("Case {0}: {1}",format(i,x))
i += 1
| Traceback (most recent call last):
File "/tmp/tmpw0yj3i_2/tmpujjpnyog.py", line 2, in <module>
while input()!=0:
^^^^^^^
EOFError: EOF when reading a line
| |
s392076033 | p02396 | u952285106 | 1525458675 | Python | Python3 | py | Runtime Error | 0 | 0 | 152 | a = []
while True:
n = input()
if n == 0:
break
a.append(n)
i = 0
for num in a:
print("Case " + (i+1) + ": " + a[i])
i += 1
| Traceback (most recent call last):
File "/tmp/tmprc3gohp6/tmp8kdfv54i.py", line 3, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s764721931 | p02396 | u952285106 | 1525459374 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | a = []
while True:
n = int(input())
if n == 0:
break
a.append(n)
i = 0
for i in a:
print("Case " + str(i+1) + ": " + str(a[i]))
i += 1
| Traceback (most recent call last):
File "/tmp/tmpfx5k2hit/tmp9dkhc8cv.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s655067838 | p02396 | u532590372 | 1525498798 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | i = 0
while True:
i += 1
n = input()
if n = 0: break
print('Case ' +str(i) +':' + n)
| File "/tmp/tmp0d2o8ss7/tmpb60cqmsl.py", line 6
if n = 0: break
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s970605680 | p02396 | u532590372 | 1525498847 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | i = 0
while True:
i += 1
n = input()
if n = 0: break:
print('Case ' +str(i) +':' + n)
| File "/tmp/tmp_ru5d0fb/tmps5gnmm1m.py", line 6
if n = 0: break:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s454930100 | p02396 | u532590372 | 1525498939 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | def main():
i = 0
while True:
i += 1
n = input()
if n = 0: break
print('Case ' +str(i) +':' + n)
main()
| File "/tmp/tmppge7__x7/tmp7rlfblff.py", line 7
if n = 0: break
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s339228111 | p02396 | u532590372 | 1525499016 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | def main():
i = 0
while True:
i += 1
n = input()
if n == 0: break
print('Case ' +str(i) +':' + n)
main()
| Traceback (most recent call last):
File "/tmp/tmph_y8jdst/tmpx5bximpy.py", line 9, in <module>
main()
File "/tmp/tmph_y8jdst/tmpx5bximpy.py", line 6, in main
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s427046447 | p02396 | u532590372 | 1525499174 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | def main():
i = 0
while True:
i += 1
n = input()
if n = 0: break
print('Case ' +str(i) +': ' + n)
main()
| File "/tmp/tmpdm9nna4r/tmpz4lmt0i7.py", line 7
if n = 0: break
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s109631940 | p02396 | u532590372 | 1525499243 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | def main():
i = 0
while True:
i += 1
n = input()
if n == 0: break
print('Case ' +str(i) +': ' + n)
main()
| Traceback (most recent call last):
File "/tmp/tmppmqnzzva/tmpxxai60ub.py", line 9, in <module>
main()
File "/tmp/tmppmqnzzva/tmpxxai60ub.py", line 6, in main
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s393233581 | p02396 | u406093313 | 1526366105 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | i=1
j=1
while 1:
x=int(input)
j=attend()
if x==0:
break
i+=1
while
print(case[0]: [1]) format(i,x)
j+=1
| File "/tmp/tmpkadvnpr4/tmp0iej7473.py", line 15
while
^
SyntaxError: invalid syntax
| |
s603795197 | p02396 | u406093313 | 1526366186 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | i=1
j=1
while 1:
x=int(input)
j=attend()
if x==0
break
i+=1
while i<j:
print(case[0]: [1]) format(i,x)
j+=1
| File "/tmp/tmp7a_e8qcp/tmp7hdyzofv.py", line 10
if x==0
^
SyntaxError: expected ':'
| |
s463189286 | p02396 | u361028487 | 1526446424 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | i=0
while True:
i+=1
a=input()
if not a:
break
print('Case',i,':',str(a))
| Traceback (most recent call last):
File "/tmp/tmp2z8_21cn/tmpf6ofsbym.py", line 4, in <module>
a=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s074503207 | p02396 | u361028487 | 1526446563 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | i=0
while True:
i+=1
a=input().split()
if not a:
break
print('Case',i,':',a[0])
del a[0]
| Traceback (most recent call last):
File "/tmp/tmpopc6i8nw/tmp_eck8j3a.py", line 4, in <module>
a=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s342108330 | p02396 | u527389300 | 1526662211 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | c = 0
while true:
x = int(input())
c += 1
if x == 0:
break
print("Case {}: {}".format(c,x))
| Traceback (most recent call last):
File "/tmp/tmpq7nhxwx_/tmpve5r6bfu.py", line 2, in <module>
while true:
^^^^
NameError: name 'true' is not defined. Did you mean: 'True'?
| |
s904264612 | p02396 | u637927800 | 1526852488 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | x = []
while True:
u = input()
if u is '':
break
else:
x.append(int(u))
for i, n in enumerate(x):
print('Case {}: {}'.format(i+1,n))
| /tmp/tmpvnofnz8l/tmpzu_tic60.py:5: SyntaxWarning: "is" with a literal. Did you mean "=="?
if u is '':
Traceback (most recent call last):
File "/tmp/tmpvnofnz8l/tmpzu_tic60.py", line 4, in <module>
u = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s499441476 | p02396 | u237094818 | 1527429538 | Python | Python | py | Runtime Error | 0 | 0 | 163 | # -*- coding: utf-8
a = []
while True:
n = input():
if n == 0:
break
a.append(n)
for i in range(len(a)):
print('Case %i: %i' % (i+1,a[i]))
| File "/tmp/tmpib5fqj43/tmp52f3yf_x.py", line 6
n = input():
^
SyntaxError: invalid syntax
| |
s657455916 | p02396 | u007066325 | 1527453884 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | a = 0
while input() != 0:
a += 1
print ("Case {}: {}".format(a. input()))
| Traceback (most recent call last):
File "/tmp/tmp0n3e6w08/tmp6zseookz.py", line 2, in <module>
while input() != 0:
^^^^^^^
EOFError: EOF when reading a line
| |
s427523303 | p02396 | u007066325 | 1527454022 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | a = 0
while True:
x = int(input())
a += 1
if x == 0: break
print ("Case {}: {}".format(a. input()))
| Traceback (most recent call last):
File "/tmp/tmpt02tb0kp/tmptn62x99f.py", line 3, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s308032200 | p02396 | u007066325 | 1527454075 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | a = 0
while True:
x = int(input())
a += 1
if x == 0: break
print ("Case {}: {}".format(a. x))
| Traceback (most recent call last):
File "/tmp/tmp745ggmfz/tmp24y56894.py", line 3, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s443431614 | p02396 | u487330611 | 1527556178 | Python | Python | py | Runtime Error | 0 | 0 | 115 | num=1
while True;
x= int(input())
if x==0; break
print ("Case{0}:{1}". fromat(num,x))
num +=1
| File "/tmp/tmpomedgg2q/tmp00vsk45w.py", line 2
while True;
^
SyntaxError: invalid syntax
| |
s023176105 | p02396 | u990900604 | 1527779388 | Python | Python | py | Runtime Error | 0 | 0 | 192 | import sys
if __name__ == '__main__':
i = 1
for line in sys.stdin.read().splitlines():
if line == '0':
break
print "Case %d: %s" % (i, line)
i +=
| File "/tmp/tmpja98p22k/tmp0j700md_.py", line 8
print "Case %d: %s" % (i, line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.