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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s518413067 | p02401 | u834416077 | 1453862297 | Python | Python | py | Runtime Error | 0 | 0 | 237 | while(1):
a,b = map(int, raw_input().split())
op = raw_input().split()
if op == "+":
print (a+b)
elif op == "-":
print (a-b)
elif op == "*":
print (a*b)
elif op == "/":
print (a/b)
elif op == "?":
break | Traceback (most recent call last):
File "/tmp/tmpypuqdtfh/tmpsuw4kumy.py", line 2, in <module>
a,b = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s421958704 | p02401 | u803327846 | 1453862320 | Python | Python | py | Runtime Error | 0 | 0 | 235 | while 1:
a,op,b = map(int,raw_input().split())
if op == "+":
print "%d" %(a + b)
elif op == "-":
print "%d" %(a - b)
elif op == "*":
print "%d" %(a * b)
elif op == "/":
print "%d" %(a / b)
else:
break
| File "/tmp/tmpyz5c3q84/tmp78ofr4bs.py", line 4
print "%d" %(a + b)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s504878719 | p02401 | u803327846 | 1453862367 | Python | Python | py | Runtime Error | 0 | 0 | 231 | while 1:
a,op,b = map(raw_input().split())
if op == "+":
print "%d" %(a + b)
elif op == "-":
print "%d" %(a - b)
elif op == "*":
print "%d" %(a * b)
elif op == "/":
print "%d" %(a / b)
else:
break
| File "/tmp/tmpnbmv10k7/tmpe_as36p8.py", line 4
print "%d" %(a + b)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s903901455 | p02401 | u047737909 | 1453862426 | Python | Python | py | Runtime Error | 0 | 0 | 203 | while True:
a,op,b = map(str,raw_input().split())
a=int(a)
b=int(b)
if(op=='?'):
break
if(op=='+'):
print s+b
elif(op=='-'):
print a-b
elif(op=='*'):
print a*b
elif(op=='/'):
print a/b | File "/tmp/tmpgepaplvd/tmpfacyf3bs.py", line 9
print s+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s759699005 | p02401 | u834416077 | 1453862555 | Python | Python | py | Runtime Error | 0 | 0 | 203 | while(1):
a,b,op = raw_input().split()
if op == "+":
print (a+b)
elif op == "-":
print (a-b)
elif op == "*":
print (a*b)
elif op == "/":
print (a/b)
elif op == "?":
break | Traceback (most recent call last):
File "/tmp/tmpaqtqg4hn/tmpux6mewu9.py", line 2, in <module>
a,b,op = raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s053838898 | p02401 | u834416077 | 1453862648 | Python | Python | py | Runtime Error | 0 | 0 | 228 | while(1):
a,b,op = raw_input().split()
a = int(a)
b = int(b)
if op == "+":
print (a+b)
elif op == "-":
print (a-b)
elif op == "*":
print (a*b)
elif op == "/":
print (a/b)
elif op == "?":
break | Traceback (most recent call last):
File "/tmp/tmpngm4nnea/tmpob1pavx8.py", line 2, in <module>
a,b,op = raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s459126901 | p02401 | u803327846 | 1453862704 | Python | Python | py | Runtime Error | 0 | 0 | 235 | while 1:
a,op,b = map(str,raw_input().split())
if op == "+":
print "%d" %(a + b)
elif op == "-":
print "%d" %(a - b)
elif op == "*":
print "%d" %(a * b)
elif op == "/":
print "%d" %(a / b)
else:
break
| File "/tmp/tmpkg__xrob/tmpthmu2opu.py", line 4
print "%d" %(a + b)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s456783130 | p02401 | u834416077 | 1453862768 | Python | Python | py | Runtime Error | 0 | 0 | 228 | while(1):
a,b,op = raw_input().split()
a = int(a)
b = int(b)
if op == "+":
print (a+b)
elif op == "-":
print (a-b)
elif op == "*":
print (a*b)
elif op == "/":
print (a/b)
elif op == "?":
break | Traceback (most recent call last):
File "/tmp/tmpd02bn4e2/tmpby5buicg.py", line 2, in <module>
a,b,op = raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s297150159 | p02401 | u803327846 | 1453862893 | Python | Python | py | Runtime Error | 0 | 0 | 252 | while 1:
a, op, b = input(), raw_input(), (raw_input().split())
if op == "+":
print "%d" %(a + b)
elif op == "-":
print "%d" %(a - b)
elif op == "*":
print "%d" %(a * b)
elif op == "/":
print "%d" %(a / b)
else:
break
| File "/tmp/tmpjpe1g1_5/tmp0cdaed6l.py", line 4
print "%d" %(a + b)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s680886778 | p02401 | u803327846 | 1453863038 | Python | Python | py | Runtime Error | 0 | 0 | 254 | while 1:
s = raw_input().split()
a, b =s[0], s[2]
op = s[1]
if op == "+":
print "%d" %(a + b)
elif op == "-":
print "%d" %(a - b)
elif op == "*":
print "%d" %(a * b)
elif op == "/":
print "%d" %(a / b)
else:
break
| File "/tmp/tmp9on4_adz/tmp6ykb5d8k.py", line 7
print "%d" %(a + b)
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s233979433 | p02401 | u970436839 | 1453877850 | Python | Python | py | Runtime Error | 0 | 0 | 216 | While True:
a, op, b = int(raw_input()), raw_input(), int(raw_input())
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break | File "/tmp/tmpdu05ma1w/tmprjc3_llh.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s368290601 | p02401 | u970436839 | 1453878004 | Python | Python | py | Runtime Error | 0 | 0 | 224 | While True:
a, op, b = map(str, raw_input().split())
a = int(a)
b = int(b)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break | File "/tmp/tmpq7zb2uz4/tmp6yejnbc9.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s003578738 | p02401 | u970436839 | 1453878073 | Python | Python | py | Runtime Error | 0 | 0 | 214 | While True:
a, op, b = raw_input().split()
a = int(a)
b = int(b)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break | File "/tmp/tmpvh1t6cz0/tmpnre3ijdx.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s687164749 | p02401 | u970436839 | 1453878121 | Python | Python | py | Runtime Error | 0 | 0 | 214 | While True:
a, op, b = raw_input().split()
a = int(a)
b = int(b)
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b
else:
break | File "/tmp/tmp7annb6v1/tmpcuuq0i7r.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s544740199 | p02401 | u970436839 | 1453878185 | Python | Python | py | Runtime Error | 0 | 0 | 225 | While True:
s = raw_input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b
else:
break | File "/tmp/tmp3cck2ddq/tmpmeugyx1x.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s022426063 | p02401 | u970436839 | 1453878226 | Python | Python | py | Runtime Error | 0 | 0 | 234 | While True:
s = raw_input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b
elif op == '?'
break | File "/tmp/tmp_eioy6hj/tmpa90_h6qq.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s622513929 | p02401 | u970436839 | 1453878254 | Python | Python | py | Runtime Error | 0 | 0 | 235 | While True:
s = raw_input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b
elif op == '?':
break | File "/tmp/tmptvbuu5pc/tmp5cbpnaqd.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s440800018 | p02401 | u970436839 | 1453878479 | Python | Python | py | Runtime Error | 0 | 0 | 198 | while True:
a, op, b = input(), raw_input(), input()
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break | File "/tmp/tmpfwq0hyjf/tmpcfc7c_6d.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s761781152 | p02401 | u970436839 | 1453878499 | Python | Python | py | Runtime Error | 0 | 0 | 231 | while True:
s = raw_input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break | File "/tmp/tmpqwtw_veq/tmpn8tgjlx_.py", line 3
a = int(s[0])
IndentationError: unexpected indent
| |
s493778509 | p02401 | u970436839 | 1453878546 | Python | Python | py | Runtime Error | 0 | 0 | 208 | while True:
a, op, b = input(), raw_input(), input()
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
elif op == "?":
break | File "/tmp/tmp9a1oegle/tmpppt7qo57.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s636773386 | p02401 | u970436839 | 1453878706 | Python | Python | py | Runtime Error | 0 | 0 | 233 | while True:
s = raw_input().split
a = int(s[0])
op = s[1]
b = int(s[2])
if op == "?":
break
elif op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b | File "/tmp/tmp81x0n35g/tmp5bywfoc_.py", line 9
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s387250386 | p02401 | u970436839 | 1453878752 | Python | Python | py | Runtime Error | 0 | 0 | 233 | while True:
s = raw_input().split
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '?':
break
elif op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b | File "/tmp/tmpwrwiffxz/tmp1myq0k71.py", line 9
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s834279053 | p02401 | u970436839 | 1453878811 | Python | Python | py | Runtime Error | 0 | 0 | 241 | while True:
s = raw_input().split
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '?':
break
elif op == '+':
print (a+b)
elif op == '-':
print (a-b)
elif op == '*':
print (a*b)
elif op == '/':
print (a/b) | Traceback (most recent call last):
File "/tmp/tmpcw34g_kh/tmpcgfbe1oj.py", line 2, in <module>
s = raw_input().split
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s521569962 | p02401 | u724923896 | 1453963143 | Python | Python | py | Runtime Error | 0 | 0 | 186 | a = input()
op = raw_input()
b = input()
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print int(a)/b
elif op == "?":
return | File "/tmp/tmpgqeb46el/tmp1f1qbrue.py", line 6
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s278694474 | p02401 | u724923896 | 1453963313 | Python | Python | py | Runtime Error | 0 | 0 | 223 | while 1:
a, op, b = map(raw_input().split())
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print int(a)/b
elif op == "?":
break | File "/tmp/tmp4kpqy8ar/tmp_t6_gt8x.py", line 5
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s744266143 | p02401 | u724923896 | 1453963467 | Python | Python | py | Runtime Error | 0 | 0 | 245 | while 1:
a, op, b = map(raw_input().split())
A = int(a)
B = int(b)
if op == "?":
break
elif op == "+":
print A+B
elif op == "-":
print A-B
elif op == "*":
print A*B
elif op == "/":
print A/B | File "/tmp/tmp3747up_n/tmpfm7jwtc1.py", line 9
print A+B
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s020144093 | p02401 | u078762447 | 1454159934 | Python | Python | py | Runtime Error | 0 | 0 | 286 | s[1] = "a"
while s[1] != "?":
s = raw_input().split()
if s[1] == "?":
break
a = int(s[0])
b = int(s[2])
if s[1] == "+":
print a + b
if s[1] =="-":
print a - b
if s[1] == "*":
print a * b
if s[1] == "/":
print a / b | File "/tmp/tmpyodbev49/tmp29i98w17.py", line 9
print a + b
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s492731122 | p02401 | u078762447 | 1454160033 | Python | Python | py | Runtime Error | 0 | 0 | 286 | s[1] = "a"
while s[1] != "?":
s = raw_input().split()
if s[1] == "?":
break
a = int(s[0])
b = int(s[2])
if s[1] == "+":
print a + b
if s[1] =="-":
print a - b
if s[1] == "*":
print a * b
if s[1] == "/":
print a / b | File "/tmp/tmphjcg1d_2/tmpbb2ah5p3.py", line 9
print a + b
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s112945163 | p02401 | u824204304 | 1454259573 | Python | Python | py | Runtime Error | 0 | 0 | 187 | while True
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "+";
print a+b
if op == "-";
print a-b
if op == "*";
print a*b
if op == "/";
print a/b | File "/tmp/tmpyylf5xfj/tmpv4vbngka.py", line 1
while True
^
SyntaxError: expected ':'
| |
s019311545 | p02401 | u824204304 | 1454259628 | Python | Python | py | Runtime Error | 0 | 0 | 215 | while True
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "?":
break
if op == "+":
print a+b
if op == "-":
print a-b
if op == "*":
print a*b
if op == "/":
print a/b | File "/tmp/tmpzgyfdbyv/tmpuj__z4vr.py", line 1
while True
^
SyntaxError: expected ':'
| |
s243120170 | p02401 | u824204304 | 1454259659 | Python | Python | py | Runtime Error | 0 | 0 | 221 | while True
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "?":
break
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b | File "/tmp/tmpa7gs5eca/tmpb0qts4jn.py", line 1
while True
^
SyntaxError: expected ':'
| |
s395670214 | p02401 | u824204304 | 1454259669 | Python | Python | py | Runtime Error | 0 | 0 | 221 | while True
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "?":
break
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b | File "/tmp/tmphjwuz4gc/tmpzqzzjrgr.py", line 1
while True
^
SyntaxError: expected ':'
| |
s759280406 | p02401 | u824204304 | 1454259679 | Python | Python | py | Runtime Error | 0 | 0 | 222 | while True:
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "?":
break
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b | File "/tmp/tmp_zekp6x9/tmpr2q920fo.py", line 9
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s747959866 | p02401 | u824204304 | 1454259718 | Python | Python | py | Runtime Error | 0 | 0 | 230 | while True:
a,op,b = raw_input().split
a,b = map(int,[a,b])
if op == "?":
break
if op == "+":
print (a+b)
elif op == "-":
print (a-b)
elif op == "*":
print (a*b)
elif op == "/":
print (a/b) | Traceback (most recent call last):
File "/tmp/tmp4rhfchzq/tmpkpllg4om.py", line 2, in <module>
a,op,b = raw_input().split
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s608210361 | p02401 | u532962080 | 1454402413 | Python | Python | py | Runtime Error | 0 | 0 | 282 | while True:
ax,op,bx = raw_input().split()
ax = int(a)
bx = int(b)
if op == '?':
break
elif op == '+':
print(ax + bx)
elif op == '-':
print(ax - bx)
elif op == '*':
print(ax * bx)
elif op == '/':
print(ax / bx) | Traceback (most recent call last):
File "/tmp/tmpdez47jd5/tmpub088zaf.py", line 2, in <module>
ax,op,bx = raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s919984586 | p02401 | u619765879 | 1454413347 | Python | Python | py | Runtime Error | 0 | 0 | 182 | str = raw_input()
a = map(int, str[0])
op = str[1]
b = map(int, str[2])
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b | File "/tmp/tmp6y5rcn75/tmp05_jocwc.py", line 7
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s743218946 | p02401 | u974554153 | 1454419061 | Python | Python | py | Runtime Error | 0 | 0 | 830 |
while True:
Input = raw_input().split()
a = int(Input[0])
op = Input[1]
b = int(Input[2])
if op == "+":
ans = a + b
print ans
elif op == "-":
ans = a - b
print ans
elif op == "/":
ans = a / b
print ans
elif op == "*":
ans ... | File "/tmp/tmp4exurvsj/tmpxauswtv7.py", line 33
Judge: 5/5 Python CPU: 00.01 sec Memory: 6436 KB Length: 376 B 2016-01-27 11:43 2016-01-27 11:43
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0... | |
s298167333 | p02401 | u974554153 | 1454419082 | Python | Python | py | Runtime Error | 0 | 0 | 828 | while True:
Input = raw_input().split()
a = int(Input[0])
op = Input[1]
b = int(Input[2])
if op == "+":
ans = a + b
print ans
elif op == "-":
ans = a - b
print ans
elif op == "/":
ans = a / b
print ans
elif op == "*":
ans = ... | File "/tmp/tmpgzhxpv9s/tmpyruo8hwx.py", line 31
Judge: 5/5 Python CPU: 00.01 sec Memory: 6436 KB Length: 376 B 2016-01-27 11:43 2016-01-27 11:43
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0... | |
s942844843 | p02401 | u177295149 | 1454420801 | Python | Python | py | Runtime Error | 0 | 0 | 239 | while true:
x = raw_input().split()
a = int(x[0])
op = x[1]
b = int(x[2])
if op == '+':
print a+b
elif op == '-':
print a-b
elif op == '*':
print a*b
elif op == '/':
print a/b
elif op == '?':
break | File "/tmp/tmpgc3slyxf/tmpyca_r_aq.py", line 9
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s683321973 | p02401 | u436807165 | 1455328252 | Python | Python | py | Runtime Error | 0 | 0 | 98 | while 1:
if "?" in raw_input.split():
break
a,b,op = map(int,raw_input().split()
print a op b | File "/tmp/tmp_t16gy93/tmpy1nm3rlo.py", line 4
a,b,op = map(int,raw_input().split()
^
SyntaxError: '(' was never closed
| |
s267445986 | p02401 | u436807165 | 1455329087 | Python | Python | py | Runtime Error | 0 | 0 | 186 | x = raw=_input().split()
a,op,b = x[0],x[1],x[2]
while 1:
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "/":
print a/b
elif op == "*":
print a*b
else:
break | File "/tmp/tmp58oq2750/tmpzfxgbp8_.py", line 5
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s554580237 | p02401 | u436807165 | 1455329241 | Python | Python | py | Runtime Error | 0 | 0 | 166 | x = raw_input().split()
a,op,b = x[0],x[1],x[2]
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "/":
print a/b
elif op == "*":
print a*b
else:
break | File "/tmp/tmpz0pd4gxq/tmp93ohzf5a.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s972382723 | p02401 | u436807165 | 1455329549 | Python | Python | py | Runtime Error | 0 | 0 | 196 | while 1:
x = raw_input().split()
a,op,b = int(x[0]),x[1],int(x[2)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "/":
print a/b
elif op == "*":
print a*b
else:
break | File "/tmp/tmp9b5h8hpt/tmpkxqsdd73.py", line 3
a,op,b = int(x[0]),x[1],int(x[2)
^
SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
| |
s703097062 | p02401 | u279955105 | 1457494463 | Python | Python3 | py | Runtime Error | 0 | 0 | 256 | while True:
a,b,c = input().split()
if b=='?':
break
elif b =='+':
d = int(a) + int(c)
elif b=='-':
d = int(a) - int(c)
elif b=='*':
d = int(a)*int(c)
else :
d = int(a)/int(c)
print(int(d) | File "/tmp/tmpyala0xni/tmp05pjdc9s.py", line 13
print(int(d)
^
SyntaxError: '(' was never closed
| |
s652292316 | p02401 | u894114233 | 1457499299 | Python | Python | py | Runtime Error | 0 | 0 | 409 | ct=-1
a=[0]*100000
b=[0]*100000
c=[0]*100000
while True:
ct+=1
a[ct],b[ct],c[ct]=map(str,raw_input().split())
if b[ct]==?:
break
else:
continue
for i in xrange(ct):
if b[i]=="+":
print(int(a[i])+int(c[i]))
elif b[i]=="-":
print(int(a[i])-int(c[i]))
elif b[i]==... | File "/tmp/tmpjsfcg30_/tmp6ts1k30k.py", line 8
if b[ct]==?:
^
SyntaxError: invalid syntax
| |
s113498348 | p02401 | u994049982 | 1458689998 | Python | Python | py | Runtime Error | 0 | 0 | 243 | while True:
a,b,c=map(str,raw_input().split())
a,c=int(a),int(c)
if b=="?":
break
if b=="+":
print(a+b)
elif b=="-":
print(a-b)
elif b=="*"
print(a*b)
else:
print(a//b)
| File "/tmp/tmp_mkfku6r/tmp3ueodp1e.py", line 10
elif b=="*"
^
SyntaxError: expected ':'
| |
s742077136 | p02401 | u994049982 | 1458690008 | Python | Python | py | Runtime Error | 0 | 0 | 243 | while True:
a,b,c=map(str,raw_input().split())
a,c=int(a),int(c)
if b=="?":
break
if b=="+":
print(a+b)
elif b=="-":
print(a-b)
elif b=="*"
print(a*b)
else:
print(a//b)
| File "/tmp/tmpyszsq8rl/tmpq0ga85cd.py", line 10
elif b=="*"
^
SyntaxError: expected ':'
| |
s642217720 | p02401 | u994049982 | 1458690070 | Python | Python | py | Runtime Error | 0 | 0 | 243 | while True:
a,b,c=map(str,raw_input().split())
a,c=int(a),int(c)
if b=="?":
break
if b=="+":
print(a+c)
elif b=="-":
print(a-c)
elif b=="*"
print(a*c)
else:
print(a//c)
| File "/tmp/tmpp7pxi76h/tmpbw0lfy9f.py", line 10
elif b=="*"
^
SyntaxError: expected ':'
| |
s831644789 | p02401 | u869301406 | 1459159720 | Python | Python | py | Runtime Error | 0 | 0 | 274 | wihle True:
a, op, b = map(str, raw_input().split())
if op in "+":
print int(a)+int(b)
elif op in "-":
print int(a)-int(b)
elif op in "*":
print int(a)*int(b)
elif op in "/":
print int(a)/int(b)
else :
break; | File "/tmp/tmpop5ekh70/tmp0bifblb3.py", line 1
wihle True:
^^^^
SyntaxError: invalid syntax
| |
s494727142 | p02401 | u463783070 | 1459327721 | Python | Python3 | py | Runtime Error | 0 | 0 | 304 | while True:
a,b = map(int,input().split())
op = map(str,input().split())
if ap == "?":
break
elif ap == "+":
print (a + b)
elif ap == "-":
print (a - b)
elif ap == "*":
print (a * b)
elif ap == "/":
print (a / b)
else:
break | Traceback (most recent call last):
File "/tmp/tmpyq6meh2i/tmpy02q7lpn.py", line 2, in <module>
a,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s748554985 | p02401 | u463783070 | 1459328067 | Python | Python3 | py | Runtime Error | 0 | 0 | 304 | while True:
a,b = map(int,input().split())
op = map(str,input().split())
if op == "+":
print (a + b)
elif op == "-":
print (a - b)
elif op == "*":
print (a * b)
elif op == "/":
print (a / b)
elif op == "?":
break
else:
break | Traceback (most recent call last):
File "/tmp/tmpia3kg210/tmpd6xdeoir.py", line 2, in <module>
a,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s899648308 | p02401 | u894381890 | 1460359852 | Python | Python | py | Runtime Error | 0 | 0 | 285 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
elif op == "?":
i == 1 | File "/tmp/tmpxnff8n2p/tmp523oxjq0.py", line 10
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s711138451 | p02401 | u894381890 | 1460359891 | Python | Python | py | Runtime Error | 0 | 0 | 265 |
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
elif op == "?":
i == 1 | File "/tmp/tmpa773vxa3/tmpy00q30hl.py", line 2
x = raw_input()
IndentationError: unexpected indent
| |
s259587565 | p02401 | u894381890 | 1460359935 | Python | Python | py | Runtime Error | 0 | 0 | 303 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
elif op == "?":
i == 1
????????????break | File "/tmp/tmpb0wsia5i/tmpfrqy8xmz.py", line 10
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s371739925 | p02401 | u894381890 | 1460359985 | Python | Python | py | Runtime Error | 0 | 0 | 325 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print ("%d" &(a+b))
elif op == "-":
print ("%d" &(a-b))
elif op == "*":
print ("%d" &(a*b))
elif op == "/":
print ("%d" &(a/b))
elif op == "?":
i... | Traceback (most recent call last):
File "/tmp/tmp5i08eszv/tmpggx5ktov.py", line 4, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s986474443 | p02401 | u894381890 | 1460360354 | Python | Python | py | Runtime Error | 0 | 0 | 325 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print ("%d" &(a+b))
elif op == "-":
print ("%d" &(a-b))
elif op == "*":
print ("%d" &(a*b))
elif op == "/":
print ("%d" &(a/b))
elif op == "?":
i... | Traceback (most recent call last):
File "/tmp/tmprtzugpzc/tmpgum9qjxj.py", line 4, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s546112730 | p02401 | u894381890 | 1460428946 | Python | Python | py | Runtime Error | 0 | 0 | 325 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if op == "+":
print ("%d" &(a+b))
elif op == "-":
print ("%d" &(a-b))
elif op == "*":
print ("%d" &(a*b))
elif op == "/":
print ("%d" &(a/b))
elif op == "?":
i... | Traceback (most recent call last):
File "/tmp/tmpdlx0vky_/tmpaltjy174.py", line 4, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s440392618 | p02401 | u894381890 | 1460428984 | Python | Python | py | Runtime Error | 0 | 0 | 335 | i = 0
while i == 0:
x = raw_input()
a, op, b = x.split()
a = int(a)
b = int(b)
if "op" == "+":
print ("%d" &(a+b))
elif "op" == "-":
print ("%d" &(a-b))
elif "op" == "*":
print ("%d" &(a*b))
elif "op" == "/":
print ("%d" &(a/b))
elif "op" == "?":... | Traceback (most recent call last):
File "/tmp/tmpaw5cgesx/tmp7om9wkx8.py", line 4, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s058764167 | p02401 | u617990214 | 1462018153 | Python | Python | py | Runtime Error | 0 | 0 | 179 | l=raw_input()
k=l.split()
a=int(k[0])
b=k[3]
c=int(k[2])
#
if b='+':
print a + b
if b='-':
print a - b
if b='*':
print a * b
if b='/':
print a / b | File "/tmp/tmp5jzbt9gi/tmpl1ujuz0d.py", line 7
if b='+':
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s645806086 | p02401 | u070968430 | 1464682058 | Python | Python3 | py | Runtime Error | 0 | 0 | 497 | while True:
a, op, b = map(str, input().split())
a = int(a)
b = int(b)
if 0 < a < 20001 and 0 < b < 20001:
if op == "+":
answer = a + b
print(answer)
elif op == "-":
answer = a - b
print(answer)
elif op == "*":
answer = ... | Traceback (most recent call last):
File "/tmp/tmpqv2t36c6/tmpgz1t8j8w.py", line 2, in <module>
a, op, b = map(str, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s857896226 | p02401 | u070968430 | 1464683099 | Python | Python3 | py | Runtime Error | 0 | 0 | 526 | import math
while True:
a, op, b = map(str, input().split())
a = int(a)
b = int(b)
if 0 < a < 20001 and 0 < b < 20001:
if op == "+":
answer = a + b
print(answer)
elif op == "-":
answer = a - b
print(answer)
elif op == "*":
... | Traceback (most recent call last):
File "/tmp/tmpy_unnsiq/tmph97tf47k.py", line 4, in <module>
a, op, b = map(str, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s370622538 | p02401 | u363214773 | 1467360346 | Python | Python | py | Runtime Error | 0 | 0 | 364 | a = []
while True:
x = map(raw_input().split())
if x[1] == '?':
break
if x[1] == '+':
a.append(int(x[0] + int(x[2])))
if x[1] == '-':
a.append(int(x[0] - int(x[2])))
if x[1] == '*':
a.append(int(x[0] * int(x[2])))
if x[1] == '/':
a.append(int(x[0] / int(x[... | File "/tmp/tmpzx3rsfu7/tmp99zgtgln.py", line 15
print a[i]
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s077171070 | p02401 | u514745787 | 1469601132 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
| File "/tmp/tmp7ak6g7ly/tmpp8kyz4uy.py", line 10
IndentationError: expected an indented block after 'if' statement on line 9
| |
s933964062 | p02401 | u204883389 | 1469601142 | Python | Python3 | py | Runtime Error | 0 | 0 | 265 | while True:
a, op, b = input().sprit()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a / b) | Traceback (most recent call last):
File "/tmp/tmpm7rb8eju/tmptfvpx1u1.py", line 2, in <module>
a, op, b = input().sprit()
^^^^^^^
EOFError: EOF when reading a line
| |
s630853447 | p02401 | u514745787 | 1469601178 | Python | Python3 | py | Runtime Error | 0 | 0 | 277 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a // b) | File "/tmp/tmpivgalaho/tmpw01igl7s.py", line 1
while True:
IndentationError: unexpected indent
| |
s811964774 | p02401 | u264632995 | 1469601184 | Python | Python3 | py | Runtime Error | 0 | 0 | 270 | while True:
a, op, b = input(),split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a / b) | Traceback (most recent call last):
File "/tmp/tmpc6njytc6/tmp32gak7je.py", line 2, in <module>
a, op, b = input(),split()
^^^^^^^
EOFError: EOF when reading a line
| |
s086365713 | p02401 | u671553883 | 1469601252 | Python | Python3 | py | Runtime Error | 0 | 0 | 349 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a / b)
if o... | File "/tmp/tmpol100lmn/tmp9jt3kavs.py", line 22
if op == '%'
^
SyntaxError: expected ':'
| |
s874650872 | p02401 | u264632995 | 1469601302 | Python | Python3 | py | Runtime Error | 0 | 0 | 271 | while True:
a, op, b = input(),split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a // b) | Traceback (most recent call last):
File "/tmp/tmpnapl28pi/tmpk3tebsoe.py", line 2, in <module>
a, op, b = input(),split()
^^^^^^^
EOFError: EOF when reading a line
| |
s986704585 | p02401 | u671553883 | 1469601305 | Python | Python3 | py | Runtime Error | 0 | 0 | 324 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a / b)
b... | File "/tmp/tmpbza1bzu6/tmpxz1pazhi.py", line 22
break
^
IndentationError: unindent does not match any outer indentation level
| |
s935046374 | p02401 | u264632995 | 1469601384 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | while True:
a, op, b = input(),split()
a = int(a)
b = int(b)
if op == '?':
break
elif op == '+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '*':
print(a * b)
elif op == '/':
print(a // b) | Traceback (most recent call last):
File "/tmp/tmpeeaj4bxq/tmpszua0eaw.py", line 2, in <module>
a, op, b = input(),split()
^^^^^^^
EOFError: EOF when reading a line
| |
s558693164 | p02401 | u204883389 | 1469601420 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | while True:
a, op, b = input().sprit()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '//':
print(a // b) | Traceback (most recent call last):
File "/tmp/tmp0o0qtfs8/tmpu4rq8736.py", line 2, in <module>
a, op, b = input().sprit()
^^^^^^^
EOFError: EOF when reading a line
| |
s909768850 | p02401 | u382316013 | 1469601434 | Python | Python3 | py | Runtime Error | 0 | 0 | 290 | while True:
a, op, b = input().split()
a = int(a)
a = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a // b) | Traceback (most recent call last):
File "/tmp/tmptx2a5hse/tmp_fvpd_sl.py", line 2, in <module>
a, op, b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s881340172 | p02401 | u204883389 | 1469601459 | Python | Python3 | py | Runtime Error | 0 | 0 | 265 | while True:
a, op, b = input().sprit()
a = int(a)
b = int(b)
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '%':
print(a % b) | Traceback (most recent call last):
File "/tmp/tmp78cao84g/tmp36i9uu4p.py", line 2, in <module>
a, op, b = input().sprit()
^^^^^^^
EOFError: EOF when reading a line
| |
s544132374 | p02401 | u264632995 | 1469601486 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
if op == '?':
break
if op == '+':
print(a + b)
if op == '-':
print(a - b)
if op == '*':
print(a * b)
if op == '/':
print(a // b) | File "/tmp/tmp9vyrzfjp/tmpgn0yq7zd.py", line 2
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s691602983 | p02401 | u216425054 | 1470730910 | Python | Python3 | py | Runtime Error | 0 | 0 | 250 | while True:
[a,b,c]=[x for x in input().split()]
a,b=int(a),int(b)
if a==0 and b==0:
break
elif op=="+":
print(a+b)
elif op=="-":
print(a-b)
elif op=="*"
print(a*b)
else:
print(a//b) | File "/tmp/tmpnhl1qnco/tmpyeeqz3hz.py", line 10
elif op=="*"
^
SyntaxError: expected ':'
| |
s672830278 | p02401 | u216425054 | 1470731046 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | while True:
[a,b,c]=[x for x in input().split()]
[a,c]=[int(a),int(c)]
print("processing")
if a==0 and c==0:
break
elif op=="+":
print(a+c)
elif op=="-":
print(a-c)
elif op=="*":
print(a*c)
else:
print(a//c) | Traceback (most recent call last):
File "/tmp/tmpj3911a16/tmpxouk5tf5.py", line 2, in <module>
[a,b,c]=[x for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s163759347 | p02401 | u216425054 | 1470731086 | Python | Python3 | py | Runtime Error | 20 | 7712 | 264 | while True:
[a,b,c]=[x for x in input().split()]
[a,c]=[int(a),int(c)]
op=b
if a==0 and c==0:
break
elif op=="+":
print(a+c)
elif op=="-":
print(a-c)
elif op=="*":
print(a*c)
else:
print(a//c) | Traceback (most recent call last):
File "/tmp/tmpc2790l4y/tmpeuy8uhh3.py", line 2, in <module>
[a,b,c]=[x for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s463906071 | p02401 | u216425054 | 1470731173 | Python | Python3 | py | Runtime Error | 0 | 0 | 256 | while True:
[a,b,c]=[x for x in input().split()]
[a,c]=[int(a),int(c)]
op=b
if op==?:
break
elif op=="+":
print(a+c)
elif op=="-":
print(a-c)
elif op=="*":
print(a*c)
else:
print(a//c) | File "/tmp/tmpy2joq3nh/tmpxacaochb.py", line 5
if op==?:
^
SyntaxError: invalid syntax
| |
s323119848 | p02401 | u201514950 | 1474024618 | Python | Python | py | Runtime Error | 0 | 0 | 195 | while 1:
x,op,y = raw_input().split()
if op == "?":
break
x = int(x)
y = int(y)
if op == "+":
print x+y
elif op == "-":
print x-y
elif op == "*":
print x*y
else:
print x/y | File "/tmp/tmpf1zbcyem/tmpv73806d7.py", line 3
x,op,y = raw_input().split()
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s549308693 | p02401 | u494314211 | 1475351500 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | import time,sys,io,pprint,math
a = []
while True:
m,n,o = input()
m=int(m)
o=int(o)
if n == "?":
break
if n=="+":
a.append(m+o)
elif n=="-":
a.append(m-o)
elif n=="*":
a.append(m*o)
elif n=="/":
a.append(m/o)
for i in a:
print(a) | Traceback (most recent call last):
File "/tmp/tmpneo81doo/tmpi1squnsq.py", line 5, in <module>
m,n,o = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s562289873 | p02401 | u494314211 | 1475351506 | Python | Python3 | py | Runtime Error | 0 | 0 | 261 |
a = []
while True:
m,n,o = input()
m=int(m)
o=int(o)
if n == "?":
break
if n=="+":
a.append(m+o)
elif n=="-":
a.append(m-o)
elif n=="*":
a.append(m*o)
elif n=="/":
a.append(m/o)
for i in a:
print(a) | Traceback (most recent call last):
File "/tmp/tmp2fm_fe23/tmpoz45llgw.py", line 4, in <module>
m,n,o = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s527896591 | p02401 | u831244171 | 1477495235 | Python | Python | py | Runtime Error | 0 | 0 | 215 | x = input().split()
a,op,b = int(x[0]),x[1],int(x[2])
if x[1] == "+":
print a+b
elif x[1] == "-":
print a-b
elif x[1] == "*":
print a*b
elif x[1] == "/":
print a/b
else:
break
| File "/tmp/tmp1rubd7g2/tmpwvdu8pu4.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s561127416 | p02401 | u831244171 | 1477495266 | Python | Python | py | Runtime Error | 0 | 0 | 207 | x = input().split()
a,op,b = int(x[0]),x[1],int(x[2])
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break
| File "/tmp/tmpnrfpuzd0/tmpg8nfmjcm.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s777891659 | p02401 | u831244171 | 1477495282 | Python | Python | py | Runtime Error | 0 | 0 | 211 | x = raw_input().split()
a,op,b = int(x[0]),x[1],int(x[2])
if op == "+":
print a+b
elif op == "-":
print a-b
elif op == "*":
print a*b
elif op == "/":
print a/b
else:
break
| File "/tmp/tmponqe9rl8/tmpx7_wp0ov.py", line 4
print a+b
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s569618223 | p02401 | u236295012 | 1477698307 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | x = input().split()
if x[1] == '+':
y = int(x[0])+int(x[2])
print(y)
elif x[1] == '-':
y = int(x[0])-int(x[2])
print(y)
elif x[1] == '*':
y = int(x[0])*int(x[2])
print(y)
elif x[1] == '/':
y = int(x[0])//int(x[2])
print(y)
elif x[1] == '?': | File "/tmp/tmpdeq7t58_/tmpla6xp32x.py", line 14
elif x[1] == '?':
IndentationError: expected an indented block after 'elif' statement on line 14
| |
s341756651 | p02401 | u725608708 | 1480568398 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == "+":
print(a + b)
elif op == "-":
print(a - b)
elif op == "*":
print(a * b)
elif op == "/":
print(a // b) | Traceback (most recent call last):
File "/tmp/tmpm5sxf16b/tmpn5t7r9ta.py", line 2, in <module>
a, op, b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s959754656 | p02401 | u725608708 | 1480568448 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == "+":
print(a + b)
elif op == "-":
print(a - b)
elif op == "*":
print(a * b)
elif op == "/":
print(a // b) | Traceback (most recent call last):
File "/tmp/tmp9dbn9n4k/tmp2_jtu3ol.py", line 2, in <module>
a, op, b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s060696942 | p02401 | u106285852 | 1482338933 | Python | Python3 | py | Runtime Error | 0 | 0 | 1310 | '''
ITP-1_4-C
?¨???????
???????????´??° a, b ??¨?????????????????? op ?????????????????§???a op b ????¨??????????????????°?????????????????????????????????
????????????????????? op ??????"+"(???)???"-"(???)???"*"(???)???"/"(???)???????????¨?????????????????§????????????????????´?????????
?°???°?????\??????????????¨???... | File "/tmp/tmpl14nksb8/tmpz829blrg.py", line 30
retVint(a)l = int(a) - int(b)
^
SyntaxError: invalid syntax
| |
s481401124 | p02401 | u106285852 | 1482339538 | Python | Python3 | py | Runtime Error | 0 | 0 | 1238 | '''
ITP-1_4-C
?¨???????
???????????´??° a, b ??¨?????????????????? op ?????????????????§???a op b ????¨??????????????????°?????????????????????????????????
????????????????????? op ??????"+"(???)???"-"(???)???"*"(???)???"/"(???)???????????¨?????????????????§????????????????????´?????????
?°???°?????\??????????????¨???... | ||
s595318599 | p02401 | u918276501 | 1484194425 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | import sys
data = sys.stdin.readline()
if '?' in data:
break
print(eval(data.replace('/','//'))) | File "/tmp/tmpzgb6gyoz/tmpikbcpc4k.py", line 3
if '?' in data:
IndentationError: unexpected indent
| |
s341775796 | p02401 | u918276501 | 1484194438 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | import sys
data = sys.stdin.readline()
if '?' in data:
break
print(eval(data.replace('/','//'))) | File "/tmp/tmp6ix_om2e/tmpxdnmctwy.py", line 4
break
^^^^^
SyntaxError: 'break' outside loop
| |
s510803982 | p02401 | u519227872 | 1485345983 | Python | Python | py | Runtime Error | 0 | 0 | 117 | import sys
for line in sys.stdin.readline():
a,op,b = line.split()
if op == '?':
break
print eval(line)
| File "/tmp/tmpgomgv8db/tmpw2gos4hn.py", line 7
print eval(line)
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s743237533 | p02401 | u519227872 | 1485346498 | Python | Python | py | Runtime Error | 0 | 0 | 144 | import sys
l = []
for line in sys.stdin.readline():
l.append(line)
for i in l:
a,op,b=i.split()
if op == '?':
break
print eval(i) | File "/tmp/tmph4wrv3bv/tmp8row5fm_.py", line 11
print eval(i)
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s882228719 | p02401 | u144068724 | 1485871357 | Python | Python3 | py | Runtime Error | 0 | 0 | 233 | while 1:
a,op,b = map(int,input().split())
if op == "+":
print(a + b)
elif op == "-":
print(a - b)
elif op == "*":
print(a * b)
elif op == "/":
print(a // b)
else:
break | Traceback (most recent call last):
File "/tmp/tmpmhywuss6/tmpjweacxan.py", line 2, in <module>
a,op,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s002478232 | p02401 | u144068724 | 1485871422 | Python | Python3 | py | Runtime Error | 0 | 0 | 273 | while 1:
a,op,b = map(int,input().split())
if op == "+":
print(int(a) + int(b))
elif op == "-":
print(int(a) - int(b))
elif op == "*":
print(int(a) * int(b))
elif op == "/":
print(int(a) // int(b))
else:
break | Traceback (most recent call last):
File "/tmp/tmpfhuouco1/tmpuhymq00d.py", line 2, in <module>
a,op,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s609557629 | p02401 | u553058997 | 1487756075 | Python | Python3 | py | Runtime Error | 0 | 0 | 62 | while:
a = input()
if a == '0 ? 0': break
print(exec(a)) | File "/tmp/tmp96xd181z/tmpe5qgdnt5.py", line 1
while:
^
SyntaxError: invalid syntax
| |
s401112373 | p02401 | u553058997 | 1487756151 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | while:
a = input()
if a == '0 ? 0': break
exec('print(' + a + ')') | File "/tmp/tmpxupyq7lg/tmpd1w98pk3.py", line 1
while:
^
SyntaxError: invalid syntax
| |
s612522362 | p02401 | u343748576 | 1489125494 | Python | Python3 | py | Runtime Error | 0 | 0 | 291 | #ITP1_4_C: Simple Calculator
while True:
a, op, b = input().split()
a, b = int(a), int(b)
if op == '?':
break
elif op =='+':
print(a+b) +1
elif op =='-':
print(a-b)
elif op =='*':
print(a*b)
elif op =='/':
print(a//b) | Traceback (most recent call last):
File "/tmp/tmpfrr2vxiv/tmpbbnst63i.py", line 3, in <module>
a, op, b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s414839783 | p02401 | u343748576 | 1489125571 | Python | Python3 | py | Runtime Error | 0 | 0 | 260 | while True:
a, op, b = input().split()
a, b = int(a), int(b)
if op == '?':
break
elif op =='+':
print(a+b) +1
elif op =='-':
print(a-b)
elif op =='*':
print(a*b)
elif op =='/':
print(a//b) | Traceback (most recent call last):
File "/tmp/tmptgkwjoez/tmplqn3xlhz.py", line 2, in <module>
a, op, b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s074453012 | p02401 | u011621222 | 1489924693 | Python | Python | py | Runtime Error | 0 | 0 | 164 | while 1:
ass,b,css=raw_input().split()
ass=int(a)
css=int(c)
if b=='*':print a*c
if b=='+':print a+c
if b=='-':print a-c
if b=='/':print a/c
if b=='?':break | File "/tmp/tmp2rtutmbi/tmpw4cqkyk4.py", line 5
if b=='*':print a*c
^^^^^^^^^
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.