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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s404040230 | p02396 | u428848588 | 1559538711 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | while True:
x,y =map(int, input().split())
if x==0 and y==0:
break
if x>y:
print(y,x)
else:
print(x,y)
| Traceback (most recent call last):
File "/tmp/tmpn0xsbbak/tmpc7rrb_h7.py", line 2, in <module>
x,y =map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s773885569 | p02396 | u428848588 | 1559538877 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | c=1
while True:
if x ==0:
break
print("Case ",c,": ",x,sep="")
c += 1
| Traceback (most recent call last):
File "/tmp/tmpba4yoc8r/tmpj8irvbh1.py", line 3, in <module>
if x ==0:
^
NameError: name 'x' is not defined
| |
s564866806 | p02396 | u296492699 | 1404738064 | Python | Python | py | Runtime Error | 0 | 0 | 101 | i=0
while True:
i+=1
x=raw_input()
if x==0:
break
print 'Case %d: %d' % (i,x) | File "/tmp/tmpvpyxfz11/tmpt444f8zm.py", line 7
print 'Case %d: %d' % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s524706588 | p02396 | u296492699 | 1404738097 | Python | Python | py | Runtime Error | 0 | 0 | 103 | i=0
while True:
i+=1
x=raw_input()
if x=='0':
break
print 'Case %d: %d' % (i,x) | File "/tmp/tmpvb4mbh_j/tmpn6f1_sey.py", line 7
print 'Case %d: %d' % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s391982813 | p02396 | u792834675 | 1415802238 | Python | Python | py | Runtime Error | 0 | 0 | 108 | i = 0
while 1:
i+=1
v = raw_input()
if not v:
break
print ('Case {}: {}'.format(i,v)) | Traceback (most recent call last):
File "/tmp/tmp14hlnf7w/tmpcyccitni.py", line 4, in <module>
v = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s217662907 | p02396 | u481221703 | 1418867213 | Python | Python | py | Runtime Error | 0 | 0 | 121 | import os
import sys
for i,n in enumerate(int(sys.stdin.readlines())):
if n!=0:
print "Case %d: %d" % (i, n) | File "/tmp/tmppxj16psp/tmp8ycc6njq.py", line 6
print "Case %d: %d" % (i, n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s410898817 | p02396 | u481221703 | 1418867438 | Python | Python | py | Runtime Error | 0 | 0 | 171 | import os
import sys
lists = []
for n in sys.stdin.readlines()):
lists.append(int(n))
for i, n in enumerate(lists):
if n!=0:
print "Case %d: %d" % (i, n) | File "/tmp/tmpcsp6ewzr/tmp1e81j5u6.py", line 5
for n in sys.stdin.readlines()):
^
SyntaxError: unmatched ')'
| |
s694935412 | p02396 | u481221703 | 1419460741 | Python | Python | py | Runtime Error | 0 | 0 | 151 | import sys
lists = sys.stdin().readlines()
for i, int(line) in enumerate(lists):
if(line[i]!=0):
print "Case %d: %d" % (i, line[i])
else:
break | File "/tmp/tmpwfwf6lr2/tmp2awm7q2r.py", line 5
for i, int(line) in enumerate(lists):
^^^^^^^^^
SyntaxError: cannot assign to function call
| |
s757471635 | p02396 | u567380442 | 1419918471 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | i = 1
while True:
input = int(input())
if input == 0:
break
print("Case {}: {}, i, input)
i += 1 | File "/tmp/tmplpnku4h3/tmpr23xcyqu.py", line 6
print("Case {}: {}, i, input)
^
SyntaxError: unterminated string literal (detected at line 6)
| |
s126804794 | p02396 | u567380442 | 1419918594 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | i = 1
while True:
input = int(input())
if input == 0:
break
print("Case {}: {}", i, input)
i += 1 | Traceback (most recent call last):
File "/tmp/tmp584h0png/tmprhs4vhgc.py", line 3, in <module>
input = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s610402934 | p02396 | u567380442 | 1419918761 | Python | Python3 | py | Runtime Error | 0 | 0 | 129 | i = 1
while True:
input = int(input())
if input == 0:
break
print("Case {}: {}".format( i, input))
i += 1 | Traceback (most recent call last):
File "/tmp/tmpeytswvhn/tmp7bz0g1at.py", line 3, in <module>
input = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s657610923 | p02396 | u567380442 | 1419919203 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | i = 1
while True:
input = int(input())
if input == 0: break
print("Case {}: {}".format(i, input))
i += 1 | Traceback (most recent call last):
File "/tmp/tmpnxl8o951/tmpy522gb8n.py", line 3, in <module>
input = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s788778674 | p02396 | u567380442 | 1419924936 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | i = 1
while True:
input = input()
if input == '0': break
print("Case {}: {}".format(i, input))
i += 1 | Traceback (most recent call last):
File "/tmp/tmptvxvu89q/tmpp8nosb6u.py", line 3, in <module>
input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s269530340 | p02396 | u567380442 | 1419925092 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | i = 1
while True:
input = input()
if input == '0':
break
print("Case {}: {}".format(i, input))
i += 1 | Traceback (most recent call last):
File "/tmp/tmpp_j8o1kf/tmpesgk4yiy.py", line 3, in <module>
input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s714794274 | p02396 | u567380442 | 1419927835 | Python | Python3 | py | Runtime Error | 0 | 0 | 164 | import sys, itertools
for count, input in zip(itertools.count(1), sys.stdin):
if int(input) == 0:
break
print('Case {0}: {1}'.format(count, input) | File "/tmp/tmppiemmwxu/tmpr3smcop8.py", line 6
print('Case {0}: {1}'.format(count, input)
^
SyntaxError: '(' was never closed
| |
s351839549 | p02396 | u527848444 | 1422242448 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | c == 0
while True:
x = int(input())
if x == 0:
break;
c += 1
print('Case',str(c) + ':',x) | Traceback (most recent call last):
File "/tmp/tmp8atbql6w/tmp93zuhy6_.py", line 1, in <module>
c == 0
^
NameError: name 'c' is not defined
| |
s179902564 | p02396 | u636711749 | 1422242449 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case',str(c) + ':',x) | File "/tmp/tmpiu9ubq_l/tmpegtgeffb.py", line 6
c += 1
^
IndentationError: unindent does not match any outer indentation level
| |
s335652111 | p02396 | u745846646 | 1422242456 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | c = 0
while True:
x = int(input())
if x == 0;
break;
c += 1
print('Case', str(c) + ':', x) | File "/tmp/tmptmfzg1vk/tmp_f4dmcoy.py", line 4
if x == 0;
^
SyntaxError: invalid syntax
| |
s352617465 | p02396 | u745846646 | 1422242467 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | c = 0
while True:
x = int(input())
if x == 0;
break:
c += 1
print('Case', str(c) + ':', x) | File "/tmp/tmp8k07l3w6/tmp1ozc_501.py", line 4
if x == 0;
^
SyntaxError: invalid syntax
| |
s879902399 | p02396 | u527848444 | 1422242478 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | c == 0
while True:
x = int(input())
if x == 0:
break;
c += 1
print('Case',str(c) + ':',x) | Traceback (most recent call last):
File "/tmp/tmpcuysy66m/tmpitj44o12.py", line 1, in <module>
c == 0
^
NameError: name 'c' is not defined
| |
s153271720 | p02396 | u636711749 | 1422242502 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | c = 0
while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case',str(c) + ':',x) | File "/tmp/tmpd297hjd_/tmpohpcoio3.py", line 7
c += 1
^
IndentationError: unindent does not match any outer indentation level
| |
s996757433 | p02396 | u527848444 | 1422242530 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | c == 0
While True:
x = int(input())
if x == 0:
break;
c += 1
print('Case',str(c) + ':',x) | File "/tmp/tmp7ktojmw_/tmpylco7llw.py", line 2
While True:
^^^^
SyntaxError: invalid syntax
| |
s910835241 | p02396 | u636711749 | 1422244262 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | c = 0
while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case', str(c) + ':', x) | Traceback (most recent call last):
File "/tmp/tmpui21313z/tmpfuyf0uzo.py", line 3, in <module>
x == int(input())
^
NameError: name 'x' is not defined
| |
s734973694 | p02396 | u636711749 | 1422244318 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | c = 0
while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case', str(c) + ':', x) | Traceback (most recent call last):
File "/tmp/tmpa7cq3rmj/tmpntblph3_.py", line 3, in <module>
x == int(input())
^
NameError: name 'x' is not defined
| |
s571616573 | p02396 | u636711749 | 1422244497 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | c = 0
while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case', str(c) + ':', x) | Traceback (most recent call last):
File "/tmp/tmpnzwrh_3r/tmppuia_d6c.py", line 3, in <module>
x == int(input())
^
NameError: name 'x' is not defined
| |
s747484925 | p02396 | u636711749 | 1422244528 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | c = 0
while True:
x == int(input())
if x == 0:
break;
c += 1
print('Case', str(c) = ':', x) | File "/tmp/tmpdegxo8ko/tmpp3kcqel8.py", line 7
print('Case', str(c) = ':', x)
^^^^^^^^
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
| |
s974917630 | p02396 | u823030818 | 1422406680 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | c = 0
while True:
x = int(input())
if x == 0:
break:
print('Case [0]: [1]'.format(c, x))
c += 1 | File "/tmp/tmpcu05rhkk/tmpe985okwz.py", line 6
break:
^
SyntaxError: invalid syntax
| |
s864051148 | p02396 | u823030818 | 1422406733 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | c = 0
while True:
x = int(input())
if x == 0:
break:
print('Case [0]: [1]'.format(c, x))
c += 1 | File "/tmp/tmpyaq0rvg9/tmpa6lgfs63.py", line 6
break:
^
SyntaxError: invalid syntax
| |
s793213695 | p02396 | u823030818 | 1422406877 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | c = 1
while True:
x = int(input())
if x == 0:
break
print('Case [0]: [1]'.format(c, x))
c += 1 | File "/tmp/tmp6eq7_xvi/tmp_1xmq8l2.py", line 9
c += 1
IndentationError: unexpected indent
| |
s601803175 | p02396 | u823030818 | 1422406945 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | c = 1
while True:
x = int(input())
if x == 0:
break
print('Case {0}: {1}'.format(c, x))
c += 1 | File "/tmp/tmp57u2e0at/tmpd5fy9470.py", line 9
c += 1
IndentationError: unexpected indent
| |
s665695035 | p02396 | u823030818 | 1422406980 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | c = 1
while True:
x = int(input())
if x == 0:
break
print('Case {0}: {1}'.format(c, x))
c += 1: | File "/tmp/tmpzvb6os1w/tmptntrc3zv.py", line 9
c += 1:
IndentationError: unexpected indent
| |
s227927525 | p02396 | u823030818 | 1422407017 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | c = 1
while True:
x = int(input())
if x == 0:
break
print('Case {0}: {1}'.format(c, x))
c += 1: | File "/tmp/tmpw6_1rgmj/tmpaup4b_by.py", line 9
c += 1:
IndentationError: unexpected indent
| |
s454651272 | p02396 | u879226672 | 1423052675 | Python | Python | py | Runtime Error | 0 | 0 | 110 | i = 0
while True:
x = raw_input()
if x == 0:
break
i += 1
print "Case %d: %d" % (i, x) | File "/tmp/tmp0i8_db4g/tmpbj82t6z_.py", line 7
print "Case %d: %d" % (i, x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s090423467 | p02396 | u879226672 | 1423052763 | Python | Python | py | Runtime Error | 0 | 0 | 141 | i = 0
while True:
x = int(raw_input())
if x == 0:
break
i += 1
i=str(i)
x=str(x)
print "Case %d: %d" % (i, x) | File "/tmp/tmpgdjlp_ot/tmpb_14qg_2.py", line 9
print "Case %d: %d" % (i, x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s705822998 | p02396 | u088816384 | 1425146707 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | x_list = []
while 1:
x = input()
x_list.append(x)
if x == 0:
break
for x in x_list:
if x == 0:
break
print "Case " + str(x_list.index(x)+1) + ": " + str(x) | File "/tmp/tmpm4nlents/tmpdz3oztup.py", line 10
print "Case " + str(x_list.index(x)+1) + ": " + str(x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s458377703 | p02396 | u137212517 | 1429542491 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | import sys
for i, x in map(int, sys.stdin):
if not x: break
print("Case {0}: {1}".format(i, x)) | ||
s698171661 | p02396 | u410785272 | 1434326060 | Python | Python3 | py | Runtime Error | 0 | 0 | 39 | if x!=0
print ('Case %d: %d' % (i, x)) | File "/tmp/tmptft63anl/tmpkb4br2_h.py", line 1
if x!=0
^
SyntaxError: expected ':'
| |
s146938718 | p02396 | u172616925 | 1435312922 | Python | Python | py | Runtime Error | 0 | 0 | 95 | i = 0
while 1:
x = raw_input()
i += 1
if x == "0":
break
print "Case %d: %d" % i,x | File "/tmp/tmpyqcbzt8r/tmp_z03csnj.py", line 8
print "Case %d: %d" % i,x
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s113101254 | p02396 | u172616925 | 1435312985 | Python | Python | py | Runtime Error | 0 | 0 | 97 | i = 0
while 1:
x = raw_input()
i += 1
if x == "0":
break
print "Case %d: %d" % (i,x) | File "/tmp/tmpt_iy9n3r/tmpj5spzr28.py", line 8
print "Case %d: %d" % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s504053813 | p02396 | u172616925 | 1435313025 | Python | Python | py | Runtime Error | 0 | 0 | 95 | i = 0
while 1:
x = raw_input()
i += 1
if x == '0':
break
print "Case %d: %d" % i,x | File "/tmp/tmpx0wtp2qh/tmp2_w0rj62.py", line 8
print "Case %d: %d" % i,x
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s436998033 | p02396 | u172616925 | 1435313063 | Python | Python | py | Runtime Error | 0 | 0 | 95 | i = 0
while 1:
x = raw_input()
i += 1
if x == "0":
break
print "Case %s: %s" % i,x | File "/tmp/tmp6tlfgwr2/tmp68xaf4fe.py", line 8
print "Case %s: %s" % i,x
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s231592811 | p02396 | u446066125 | 1436753736 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | count = 1
whie (true) :
x = input().strip()
if x == '0' :
break;
print('Case %s: %s',(count,x))
count += 1; | File "/tmp/tmp9mcefdzc/tmp9ql_jg6x.py", line 3
whie (true) :
^
SyntaxError: invalid syntax
| |
s108477156 | p02396 | u446066125 | 1436753759 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | count = 1
whie (true) :
x = input().strip()
if x == '0' :
break;
print('Case %s: %s',%(count,x))
count += 1; | File "/tmp/tmpl78mh4vf/tmpupt5k2c8.py", line 3
whie (true) :
^
SyntaxError: invalid syntax
| |
s517276916 | p02396 | u446066125 | 1436753785 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | count = 1
whie (true) :
x = input().strip()
if x == '0' :
break;
print('Case %s: %s'%(count,x))
count += 1; | File "/tmp/tmp79_u1sth/tmpcs7ogg60.py", line 3
whie (true) :
^
SyntaxError: invalid syntax
| |
s695410676 | p02396 | u446066125 | 1436753833 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | count = 1
whie (true) :
x = input().strip()
if x == '0' :
break;
print('Case %s: %s'%(count,x))
count = count + 1; | File "/tmp/tmpxc91lgtl/tmpg1z6uvu3.py", line 3
whie (true) :
^
SyntaxError: invalid syntax
| |
s900437244 | p02396 | u446066125 | 1436753864 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | count = 1
whie (true) :
x = input().strip()
if x == '0' :
break
print('Case %s: %s'%(count,x))
count = count + 1; | File "/tmp/tmpp7fr3ygf/tmpd9pgc6sj.py", line 3
whie (true) :
^
SyntaxError: invalid syntax
| |
s288491679 | p02396 | u614711522 | 1437958382 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | nums = input().split()
i = 0
while i < nums.length:
print( Case, i, nums[i])
i += 1 | Traceback (most recent call last):
File "/tmp/tmp4eub557c/tmpzck19equ.py", line 1, in <module>
nums = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s717446846 | p02396 | u614711522 | 1437958479 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | nums = int( input().split())
i = 0
while i < nums.length:
print( Case, i, nums[i])
i += 1 | Traceback (most recent call last):
File "/tmp/tmpq8xw317u/tmpqqdvho1n.py", line 1, in <module>
nums = int( input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s189431222 | p02396 | u527848444 | 1437960084 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | count = 1
while True:
????????x = input().strip()
????????if x == '0':
????????????????break
????????print('Case %s: %s' % (count, x))
????????count = count + 1 | File "/tmp/tmpyd_2qxnc/tmplza8p4ub.py", line 3
????????x = input().strip()
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s996939146 | p02396 | u527848444 | 1437960123 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | count = 1
while True:
????????x = input().strip()
????????if x == '0':
????????????????break
????????print('Case %s: %s' % (count, x))
????????count = count + 1 | File "/tmp/tmpk2ee37xw/tmpp26ish67.py", line 3
????????x = input().strip()
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s898746822 | p02396 | u381433575 | 1438060060 | Python | Python | py | Runtime Error | 0 | 0 | 133 | import warnings
for i in range(99999999):
data = input()
if(data == 0):
break
else:
print "Case " + str(i) + ": " + str(data) | File "/tmp/tmp2ro9oxn6/tmp7ttonaj5.py", line 8
print "Case " + str(i) + ": " + str(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s144298587 | p02396 | u614711522 | 1438562382 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | count = 1
while True:
x = input().strip()
if x == '0':
break
else:
print( 'Case {0}: {1}'.format( i, x))
count += 1 | Traceback (most recent call last):
File "/tmp/tmprld9le29/tmpn7z_a3rb.py", line 3, in <module>
x = input().strip()
^^^^^^^
EOFError: EOF when reading a line
| |
s112852647 | p02396 | u614711522 | 1438562477 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | count = 1
while True:
x = int( input().strip())
if x == '0':
break
else:
print( 'Case {0}: {1}'.format( i, x))
count += 1 | Traceback (most recent call last):
File "/tmp/tmpcv0tbkjz/tmpgesvn852.py", line 3, in <module>
x = int( input().strip())
^^^^^^^
EOFError: EOF when reading a line
| |
s887701389 | p02396 | u614711522 | 1438562523 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | count = 1
while True:
x = int( input().strip())
if x == '0':
break
else:
print( 'Case {0}: {1}'.format( count, x))
count += 1 | Traceback (most recent call last):
File "/tmp/tmpry72y8i3/tmpmktu60oz.py", line 3, in <module>
x = int( input().strip())
^^^^^^^
EOFError: EOF when reading a line
| |
s727371193 | p02396 | u255164080 | 1438562933 | Python | Python3 | py | Runtime Error | 0 | 0 | 172 | while True:
(x, y) = [int(i) for i in input().split()]
if x == 0:
break
if x > y:
a = y
y = x
x = a
print(x, y) | File "/tmp/tmpj6n1jjh4/tmp03t7_zbt.py", line 1
while True:
IndentationError: unexpected indent
| |
s963276612 | p02396 | u473077745 | 1439784959 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | count = 1
while True:
x = input().strip()
if x == '0':
break
print('Case %s: %s' % (count, x))
count = count + 1 | File "/tmp/tmplcjoij1d/tmp03r048vb.py", line 3
x = input().strip()
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s396947195 | p02396 | u473077745 | 1439795377 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | count = 1
while True:
x = input().strip()
if x == '0':
break
print('Case %s: %s' % (count, x))
count = count + 1 | File "/tmp/tmpdr5gsrkj/tmptbmwex_5.py", line 3
x = input().strip()
^
IndentationError: expected an indented block after 'while' statement on line 2
| |
s344671226 | p02396 | u722558010 | 1440658772 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | import sys
n=1
ff=map(input().split())
for i in ff:
if i==0:
break
print("Case {0}: {1},".format(n,i))
n=n+1 | Traceback (most recent call last):
File "/tmp/tmp4de5cwyi/tmphjx71ryd.py", line 4, in <module>
ff=map(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s298949075 | p02396 | u722558010 | 1440659230 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | n=1
ff=map(input().splitlines())
for i in ff:
if i==0:
break
print("Case {0}: {1},".format(n,i))
n=n+1 | Traceback (most recent call last):
File "/tmp/tmpur62yzyu/tmpkkitnx1y.py", line 3, in <module>
ff=map(input().splitlines())
^^^^^^^
EOFError: EOF when reading a line
| |
s212297095 | p02396 | u335511832 | 1440661805 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | while True:
for x,i in enumerate(input())
print('Case {0}: {1}'.format(x,y)) | File "/tmp/tmpg55kiz6a/tmp6rfe4ipu.py", line 2
for x,i in enumerate(input())
^
SyntaxError: expected ':'
| |
s288906721 | p02396 | u969115822 | 1442302724 | Python | Python | py | Runtime Error | 0 | 0 | 155 | nums []
num = input()
nums.append(num)
while num != 0:
num = input()
nums.append(num)
for i in range(len(nums)):
print "case %d: %d" %(i + 1, nums[i]) | File "/tmp/tmpovnkf87_/tmpry0hlscp.py", line 1
nums []
^
SyntaxError: invalid syntax
| |
s511670875 | p02396 | u126202702 | 1443024247 | Python | Python | py | Runtime Error | 0 | 0 | 119 | a=[]
while True:
a=input()
if a==0:
break
a.append(input())
i=1
for num in a:
print 'Case {0}: {1}'.format(i,num) | File "/tmp/tmp2i18kzma/tmpge9tl3jm.py", line 9
print 'Case {0}: {1}'.format(i,num)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s431601752 | p02396 | u224288634 | 1444130144 | Python | Python | py | Runtime Error | 0 | 0 | 95 | i = 1
while True :
n = input()
if n==0 :
break
else :
print('Case %d: %d' % (i,n)
i += 1 | File "/tmp/tmpq04m52s1/tmpcwydeakj.py", line 7
print('Case %d: %d' % (i,n)
^
IndentationError: expected an indented block after 'else' statement on line 6
| |
s230728844 | p02396 | u224288634 | 1444130199 | Python | Python | py | Runtime Error | 0 | 0 | 94 | i = 1
while True :
n = input()
if n==0 :
break
else :
print'Case %d: %d' % (i,n)
i += 1 | File "/tmp/tmp4g_0ppjn/tmp543yrix_.py", line 7
print'Case %d: %d' % (i,n)
^
IndentationError: expected an indented block after 'else' statement on line 6
| |
s669366832 | p02396 | u139034459 | 1445708593 | Python | Python | py | Runtime Error | 0 | 0 | 177 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
var = int(row_input())
count = 0
while var != 0:
count += 1
print "Case " + str(count) + ": " + str(var)
var = int(row_input()) | File "/tmp/tmp2kz2lplv/tmpcxzs0692.py", line 8
print "Case " + str(count) + ": " + str(var)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s333032161 | p02396 | u139034459 | 1445708850 | Python | Python | py | Runtime Error | 0 | 0 | 234 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
var = int(row_input())
count = 0
while var != 0:
pre[count] = var
count += 1
var = int(row_input())
count = 1
for item in pre
print "Case " + str(count) + ": " +str(item)
count += 1 | File "/tmp/tmp90uvomz9/tmp2dsdhuoq.py", line 12
for item in pre
^
SyntaxError: expected ':'
| |
s127485366 | p02396 | u139034459 | 1445708959 | Python | Python | py | Runtime Error | 0 | 0 | 235 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
var = int(row_input())
count = 0
while var != 0:
pre[count] = var
count += 1
var = int(row_input())
count = 1
for item in pre:
print "Case " + str(count) + ": " +str(item)
count += 1 | File "/tmp/tmpwpcgm2m4/tmpc3yeelsr.py", line 13
print "Case " + str(count) + ": " +str(item)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s826017970 | p02396 | u139034459 | 1445779961 | Python | Python | py | Runtime Error | 0 | 0 | 251 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
var = int(row_input())
count = 0
while var != 0:
pre[count] = var
count += 1
var = int(row_input())
count = 1
while pre[count-1] != 0:
print "Case " + str(count) + ": " +str(pre[count-1])
count += 1 | File "/tmp/tmpzyivr20v/tmpzqrm2qf9.py", line 13
print "Case " + str(count) + ": " +str(pre[count-1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s912367513 | p02396 | u663227983 | 1452516640 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = 10
while n != 0:
n = input()
print "Case " + str(i) + ": " +str(n) | File "/tmp/tmp9e5m230h/tmpka165ljz.py", line 4
print "Case " + str(i) + ": " +str(n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s539909170 | p02396 | u663227983 | 1452516647 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = 10
while n != 0:
n = input()
print "Case " + str(i) + ": " +str(n) | File "/tmp/tmp944qz3hf/tmp1qqzb5y1.py", line 4
print "Case " + str(i) + ": " +str(n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s486059913 | p02396 | u663227983 | 1452516661 | Python | Python | py | Runtime Error | 0 | 0 | 76 | n = 10
while n != 0:
n = raw_input()
print "Case " + str(i) + ": " +str(n) | File "/tmp/tmpfx6w6xew/tmp7kwpiix4.py", line 4
print "Case " + str(i) + ": " +str(n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s519533985 | p02396 | u663227983 | 1452516699 | Python | Python | py | Runtime Error | 0 | 0 | 93 | n = 10
i = 1
while n != 0:
n = raw_input()
i = i + 1
print "Case " + str(i) + ": " +str(n) | File "/tmp/tmpi009i6za/tmp9unuxsil.py", line 6
print "Case " + str(i) + ": " +str(n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s156500348 | p02396 | u393769849 | 1453255077 | Python | Python | py | Runtime Error | 0 | 0 | 88 |
for i in range(n)
i += 1
x = input()
if x == 0:
break:
print "case %d: %d" %(i x) | File "/tmp/tmpbcg9wd4m/tmpjj8je73z.py", line 2
for i in range(n)
^
SyntaxError: expected ':'
| |
s187639325 | p02396 | u393769849 | 1453255270 | Python | Python | py | Runtime Error | 0 | 0 | 88 | i = 0
while True:
i += 1
x = input()
if x == 0:
break:
print "case %d: %s" %(i x) | File "/tmp/tmp_zkzq4jr/tmplupcc55q.py", line 7
break:
^
SyntaxError: invalid syntax
| |
s471302308 | p02396 | u393769849 | 1453255386 | Python | Python | py | Runtime Error | 0 | 0 | 94 | i = 0
while True:
i += 1
x = raw_input()
if x == 0:
break:
print "case %d: %s" % (i, x) | File "/tmp/tmpp64tbwlx/tmpymabv074.py", line 7
break:
^
SyntaxError: invalid syntax
| |
s026497024 | p02396 | u393769849 | 1453255414 | Python | Python | py | Runtime Error | 0 | 0 | 96 | i = 0
while True:
i += 1
x = raw_input()
if x == "0":
break:
print "case %d: %s" % (i, x) | File "/tmp/tmphz90abfg/tmpu4ahobdx.py", line 7
break:
^
SyntaxError: invalid syntax
| |
s489411391 | p02396 | u393769849 | 1453255909 | Python | Python | py | Runtime Error | 0 | 0 | 101 | i = 0
while True:
i += 1
x = raw_input()
if x == '0':
break
print 'case %d: %s' % (i,x) | File "/tmp/tmp0yqawiil/tmp7zwtbzm0.py", line 1
i = 0
IndentationError: unexpected indent
| |
s805924950 | p02396 | u393769849 | 1453255930 | Python | Python | py | Runtime Error | 0 | 0 | 104 | i=0
while True:
i+=1
x=raw_input()
if x=='0':
break
print 'Case %d: %s' % (i,x) | File "/tmp/tmpzgxj0489/tmpzvznn71i.py", line 1
i=0
IndentationError: unexpected indent
| |
s961717534 | p02396 | u393769849 | 1453255965 | Python | Python | py | Runtime Error | 0 | 0 | 108 | i = 1
while 1:
x = raw_input()
if x == '0':
break
print 'Case %d: %s' % (i, x)
i+=1 | File "/tmp/tmp_611eqt0/tmp_mlwk406.py", line 1
i = 1
IndentationError: unexpected indent
| |
s906964861 | p02396 | u393769849 | 1453255999 | Python | Python | py | Runtime Error | 0 | 0 | 206 |
import sys
for i,ws in enumerate(sys.stdin, 1):
w = ws[:-1]
if w =='0': break
print 'Case %d: %s' % (i, w)
Compile Error Logs:
You are not authorized to see the message.
Status
| File "/tmp/tmp0l1qppub/tmpvxkdy2vr.py", line 7
print 'Case %d: %s' % (i, w)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s729635474 | p02396 | u047737909 | 1453256967 | Python | Python | py | Runtime Error | 0 | 0 | 114 | m = map(int,raw_input().split())
for i in range(1,len(m)+1)
if(m[i-1]==0)
break
print"Case %d* %d",%(i,m[i-1]) | File "/tmp/tmpogs5h5cc/tmpyk9tdf6u.py", line 2
for i in range(1,len(m)+1)
^
SyntaxError: expected ':'
| |
s714917822 | p02396 | u047737909 | 1453257128 | Python | Python | py | Runtime Error | 0 | 0 | 116 | m = map(int,raw_input().split())
for i in range(1,len(m)+1):
if(m[i-1]==0):
break
print"Case %d* %d",%(i,m[i-1]) | File "/tmp/tmp5vgh2kpm/tmpy4_2hcgr.py", line 5
print"Case %d* %d",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s014178413 | p02396 | u047737909 | 1453257157 | Python | Python | py | Runtime Error | 0 | 0 | 114 | m = map(int,raw_input().split())
for i in range(len(m)+1):
if(m[i-1]==0):
break
print"Case %d* %d",%(i,m[i-1]) | File "/tmp/tmppu5gvk0h/tmpbbm4566z.py", line 5
print"Case %d* %d",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s421472564 | p02396 | u047737909 | 1453257262 | Python | Python | py | Runtime Error | 0 | 0 | 114 | m = map(int,raw_input().split())
for i in range(len(m)+1):
if(m[i-1]==0):
break
print"Case %s* %s",%(i,m[i-1]) | File "/tmp/tmp7bh0fccb/tmpeazvflwd.py", line 5
print"Case %s* %s",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s922962776 | p02396 | u047737909 | 1453257380 | Python | Python | py | Runtime Error | 0 | 0 | 114 | m = map(int,raw_input().split())
for i in range(len(m)+1):
if(m[i-1]==0):
break
print"Case %s* %s",%(i,m[i-1]) | File "/tmp/tmpmzzh4djb/tmp48sdayr7.py", line 5
print"Case %s* %s",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s810574765 | p02396 | u047737909 | 1453257433 | Python | Python | py | Runtime Error | 0 | 0 | 107 | m = map(int,raw_input().split())
for i in range(1):
if(m[i-1]==0):
break
print"Case %s* %s",%(i,m[i-1]) | File "/tmp/tmpm81onuuh/tmp1i2ycp2n.py", line 5
print"Case %s* %s",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s565106657 | p02396 | u047737909 | 1453257472 | Python | Python | py | Runtime Error | 0 | 0 | 112 | m = map(int,raw_input().split())
for i in range(len(m)):
if(m[i-1]==0):
break
print"Case %s* %s",%(i,m[i-1]) | File "/tmp/tmpt7evoldy/tmpkgdu63ud.py", line 5
print"Case %s* %s",%(i,m[i-1])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s365837507 | p02396 | u834416077 | 1453257512 | Python | Python | py | Runtime Error | 0 | 0 | 77 | i = 1
n = 1
while n > 0:
n = input()
print "Cace %d: %d" % (i, n)
i++ | File "/tmp/tmp3wsa5oac/tmp5qp1g94k.py", line 6
print "Cace %d: %d" % (i, n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s446991450 | p02396 | u047737909 | 1453257527 | Python | Python | py | Runtime Error | 0 | 0 | 112 | m = map(int,raw_input().split())
for i in range(len(m)):
if(m[i]==0):
break
print"Case %s* %s",%((i+1),m[i]) | File "/tmp/tmpweniskmb/tmpk5zmlspo.py", line 5
print"Case %s* %s",%((i+1),m[i])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s389144983 | p02396 | u803327846 | 1453257694 | Python | Python | py | Runtime Error | 0 | 0 | 89 | x = map(int, raw_input().split())
for i in range():
print "case %d: %d" %(i + 1, x[i]) | File "/tmp/tmplm94rpia/tmp6zf8_dy0.py", line 4
print "case %d: %d" %(i + 1, x[i])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s050455933 | p02396 | u834416077 | 1453257721 | Python | Python | py | Runtime Error | 0 | 0 | 89 | i = 1
while 1:
n = input()
if n == 0:
break:
print "Cace %d: %d" % (i, n)
i++ | File "/tmp/tmp_oniz0nm/tmpqnudvwul.py", line 5
break:
^
SyntaxError: invalid syntax
| |
s020108498 | p02396 | u824204304 | 1453257774 | Python | Python | py | Runtime Error | 0 | 0 | 101 | i = 0
while 1:
x = raw_input()
i += 1
if x == 0:
break
print "Case %s : %s" % (i,x) | File "/tmp/tmpe7sjriru/tmpygnk5ybo.py", line 7
print "Case %s : %s" % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s451631542 | p02396 | u824204304 | 1453257793 | Python | Python | py | Runtime Error | 0 | 0 | 101 | i = 0
while 1:
x = raw_input()
i += 1
if x == 0:
break
print "Case %s : %s" % (i,x) | File "/tmp/tmp1abw8luz/tmpb4j6zv6y.py", line 7
print "Case %s : %s" % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s858005467 | p02396 | u456885296 | 1453257821 | Python | Python | py | Runtime Error | 0 | 0 | 85 | i=0
while 1:
x = input()
if x == 0:
break
i+=1
print "Case %d:%d" % (i,x) | File "/tmp/tmpnym5kma7/tmpw53pmw8x.py", line 2
while 1:
IndentationError: unexpected indent
| |
s599957518 | p02396 | u803327846 | 1453257846 | Python | Python | py | Runtime Error | 0 | 0 | 121 | x = map(int, raw_input().split())
i = 1
while(1):
if x[i] == 0:
break
print "Case %d: %d" %(i + 1, x[i])
i += 1 | File "/tmp/tmpr3zi2yu6/tmpfs9x9ly5.py", line 6
print "Case %d: %d" %(i + 1, x[i])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s481108779 | p02396 | u824204304 | 1453257876 | Python | Python | py | Runtime Error | 0 | 0 | 100 | i = 0
while 1:
x = raw_input()
i += 1
if x == 0:
break
print "Case %s: %s" % (i,x) | File "/tmp/tmpyx6y1aef/tmprtrpvo_4.py", line 7
print "Case %s: %s" % (i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s369715293 | p02396 | u803327846 | 1453257907 | Python | Python | py | Runtime Error | 0 | 0 | 94 | i = 1
while(1):
x = raw_input()
if x == 0:
break
print "Case %d: %d" %(i,x)
i += 1 | File "/tmp/tmpspfaa_ry/tmpyxfisndr.py", line 6
print "Case %d: %d" %(i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s351310143 | p02396 | u613805578 | 1453257909 | Python | Python | py | Runtime Error | 0 | 0 | 128 | sum = 0
while true:
x = raw.input()
sum = sum + 1
if x == 0:
break;
for i in range(0,sum):
print "Case sum: x" | File "/tmp/tmp_8rao1za/tmpl030tzqw.py", line 8
print "Case sum: x"
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s191358815 | p02396 | u803327846 | 1453257933 | Python | Python | py | Runtime Error | 0 | 0 | 94 | i = 1
while(1):
x = raw_input()
if x == 0:
break
print "Case %d: %d" %(i,x)
i += 1 | File "/tmp/tmpguxawnfm/tmpbe4qy9c7.py", line 6
print "Case %d: %d" %(i,x)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s658251869 | p02396 | u834416077 | 1453257980 | Python | Python | py | Runtime Error | 0 | 0 | 94 | i = 1
while 1:
n = input()
if n == 0:
break
print "Case %d: %d" % (i,n):
i = i + 1 | File "/tmp/tmpjknzaqfr/tmp326wuoy9.py", line 6
print "Case %d: %d" % (i,n):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
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.