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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s017017347 | p02391 | u721221949 | 1497512485 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | [a, b] = map(int, input().split())
if a < b:
print("a < b")
elif:a > b:
print("a > b")
else:
print("a == 0") | File "/tmp/tmp8_t9sx9p/tmp_xr3raby.py", line 4
elif:a > b:
^
SyntaxError: invalid syntax
| |
s574894036 | p02391 | u569585396 | 1497512528 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | a, b = map(int.input().split())
if a > b:
print('a > b')
elif a == b:
print('a == b')
else:
print('a < b') | Traceback (most recent call last):
File "/tmp/tmpmij6yyxb/tmpjcnsy43k.py", line 1, in <module>
a, b = map(int.input().split())
^^^^^^^^^
AttributeError: type object 'int' has no attribute 'input'
| |
s334297766 | p02391 | u818923713 | 1497512530 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | a = int(input())
b = int(input())
if a > b:
print('a > b')
elif a < b:
print ('a < b')
elif a == b:
print (' a == b')
else:
print "none" | File "/tmp/tmpe6b4i76m/tmp_pzd1upo.py", line 11
print "none"
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s879594444 | p02391 | u721221949 | 1497512641 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | [a, b] = map(int, input().split())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else a == 0:
print("a == 0") | File "/tmp/tmpyqq6xq8z/tmp_in6janp.py", line 6
else a == 0:
^
SyntaxError: expected ':'
| |
s471447957 | p02391 | u721103753 | 1497512652 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | [a, b] = [int(x) for x in input().split()]
if a < b:
print(a < b)
else if a > b:
print(a > b)
else:
print(a == b) | File "/tmp/tmpy3ntg75c/tmpcc5cy7f9.py", line 5
else if a > b:
^^
SyntaxError: expected ':'
| |
s173535736 | p02391 | u333596716 | 1497512668 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | a,b=map(int,input().split)
if a < b :
print("a < b")
elif a > b :
print("a > b")
else a == b:
print("a == b") | File "/tmp/tmp7zmdokwg/tmp37_fk_l9.py", line 6
else a == b:
^
SyntaxError: expected ':'
| |
s132271067 | p02391 | u923630348 | 1497512738 | Python | Python3 | py | Runtime Error | 0 | 0 | 18 | a < b
b > a
a == b | Traceback (most recent call last):
File "/tmp/tmpnhazruh_/tmp803e47_b.py", line 1, in <module>
a < b
^
NameError: name 'a' is not defined
| |
s840980457 | p02391 | u831971779 | 1497512795 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | [a,b] = int(input(),split())
if a > b:
print( a > b)
elif a < b:
print( a < b )
else:
print( a == b ) | File "/tmp/tmpgotfs_5g/tmpg_9er62q.py", line 2
if a > b:
IndentationError: unexpected indent
| |
s331831970 | p02391 | u333596716 | 1497512828 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | a,b=map(int,input().split)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else a == b:
print("a == b") | File "/tmp/tmpu8porxkh/tmpwew_0cm9.py", line 6
else a == b:
^
SyntaxError: expected ':'
| |
s179664146 | p02391 | u333596716 | 1497512920 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | a,b=map(int,input().split)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmprx4e5448/tmp79a2fncb.py", line 1, in <module>
a,b=map(int,input().split)
^^^^^^^
EOFError: EOF when reading a line
| |
s382418072 | p02391 | u818923713 | 1497513082 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | a, b = map(int,raw_input().split())
if a > b:
print("a > b")
elif a < b:
print("a < b")
elif a == b:
print("a == b")
else:
print("none") | Traceback (most recent call last):
File "/tmp/tmpdqv0lmo3/tmpy8xylowz.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s966720316 | p02391 | u818923713 | 1497513156 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | a, b = map(int,raw_input().split())
if a > b:
print("a > b")
elif a < b:
print("a < b")
elif a == b:
print("a == b")
else:
print("none") | Traceback (most recent call last):
File "/tmp/tmpz1v_3qat/tmppf82v6vk.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s896132520 | p02391 | u923630348 | 1497513162 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | a, b = map(int,raw_input().split())
if a<b:
print "a < b"
elif a>b:
print "a > b"
elif a==b:
print "a == b"
else:
print "none" | File "/tmp/tmp690ofxbo/tmpmrl3c69z.py", line 4
print "a < b"
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s122745994 | p02391 | u818923713 | 1497513207 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | a, b = map(int,raw_input().split())
if a > b:
print("a > b")
if a < b:
print("a < b")
if a == b:
print("a == b")
else:
print("none") | Traceback (most recent call last):
File "/tmp/tmpa6ce5dsi/tmpmwulelas.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s883766769 | p02391 | u923630348 | 1497513215 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | a, b = map(int,raw_input().split())
if a<b:
print "a < b"
elif a>b:
print "a > b"
elif a==b:
print "a == b"
else:
print "none" | File "/tmp/tmpc36tth2k/tmpxr48f7y8.py", line 4
print "a < b"
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s673282978 | p02391 | u333596716 | 1497513225 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | a,b = map(int,input().split)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpybgnfg8r/tmpotarilbu.py", line 1, in <module>
a,b = map(int,input().split)
^^^^^^^
EOFError: EOF when reading a line
| |
s892278453 | p02391 | u831971779 | 1497513271 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | [a,b] = int(input(),split())
if a < b:
print(" a < b ")
elif a > b:
print(" b < a ")
else:
print(" a == b ") | File "/tmp/tmpqk3lmow9/tmphy2abtfo.py", line 2
if a < b:
IndentationError: unexpected indent
| |
s291577578 | p02391 | u818923713 | 1497513278 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | a, b = map(int,raw_input().split())
if a > b:
print("a > b")
elif a < b:
print("a < b")
elif a == b:
print("a == b")
else:
print("none") | Traceback (most recent call last):
File "/tmp/tmpj4kut23q/tmpwy2ls_6i.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s727017813 | p02391 | u333596716 | 1497513280 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | [a,b]=map(int,input().split)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpl0myook3/tmprops4kv2.py", line 1, in <module>
[a,b]=map(int,input().split)
^^^^^^^
EOFError: EOF when reading a line
| |
s603647625 | p02391 | u911624488 | 1497513297 | Python | Python3 | py | Runtime Error | 0 | 0 | 27 | (a == b or a > b or a < b ) | Traceback (most recent call last):
File "/tmp/tmpaaeqt_og/tmprpau4nxb.py", line 1, in <module>
(a == b or a > b or a < b )
^
NameError: name 'a' is not defined
| |
s291688383 | p02391 | u831971779 | 1497513356 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | [a,b] = int(input().split())
if a < b:
print(" a < b ")
elif a > b:
print(" b < a ")
else:
print(" a == b ") | File "/tmp/tmpki1d7ibx/tmpbtk6p6t4.py", line 2
if a < b:
IndentationError: unexpected indent
| |
s275443607 | p02391 | u721103753 | 1497513400 | Python | Python3 | py | Runtime Error | 0 | 0 | 173 | [a, b] = [int(x) for x in input().split()]
if a < b:
print(int(a) + '<' + int(b))
else if a > b:
print(int(a) + '>' + int(b))
else:
print(int(a) + '=='+ int(b)) | File "/tmp/tmplkr24yuq/tmph1038fxz.py", line 5
else if a > b:
^^
SyntaxError: expected ':'
| |
s545375727 | p02391 | u721103753 | 1497513432 | Python | Python3 | py | Runtime Error | 0 | 0 | 170 | [a, b] = [int(x) for x in input().split()]
if a < b:
print(int(a) + '<' + int(b))
elif a > b:
print(int(a) + '>' + int(b))
else:
print(int(a) + '=='+ int(b)) | Traceback (most recent call last):
File "/tmp/tmp2nuknrrn/tmpewu5yczh.py", line 1, in <module>
[a, b] = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s614016355 | p02391 | u818923713 | 1497513633 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | a, b = map(int,raw_input().split())
if a > b:
print("a > b")
elif a < b:
print("a < b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmppvswah1t/tmpxr3s2rcm.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s266845313 | p02391 | u818923713 | 1497513805 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | x=input().split
y=list(map(int,x))
a=y[0]
b=y[1]
if a > b:
print("a > b")
elif a < b:
print("a < b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpu4xiij3i/tmp9y7_7xh6.py", line 1, in <module>
x=input().split
^^^^^^^
EOFError: EOF when reading a line
| |
s514161363 | p02391 | u831971779 | 1497514112 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | [a,b] = int(input().split())
if a < b:
print(' a < b ')
elif a > b:
print(' b < a ')
else:
print(' a == b ')
| File "/tmp/tmpk5et6p2m/tmpn7nrgmgw.py", line 2
if a < b:
IndentationError: unexpected indent
| |
s608782689 | p02391 | u831971779 | 1497514989 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | [a,b]=int(input().split())
if a < b:
print('a < b')
elif a > b:
print('a < b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmps4qv069r/tmpxedtn0fe.py", line 1, in <module>
[a,b]=int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s654701649 | p02391 | u692161606 | 1497524146 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | a, b = map(int ,input().split())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else a == b:
print("a == b") | File "/tmp/tmp39wf2ds4/tmp0z4imink.py", line 6
else a == b:
^
SyntaxError: expected ':'
| |
s025841947 | p02391 | u831971779 | 1497596005 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | [a,b] = int(input().split())
if a < b:
return ("a < b")
elif a > b:
return ("a > b")
return ("a == b") | File "/tmp/tmpsvf79jci/tmp5_e0794m.py", line 3
return ("a < b")
^^^^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s921976887 | p02391 | u721103753 | 1497838011 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | a = input()
b = input()
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmps4dm2ctd/tmpr85ravpy.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s614583765 | p02391 | u721103753 | 1497838257 | Python | Python3 | py | Runtime Error | 0 | 0 | 158 | a = input()
b = input()
if a < b:
print("str(a) + '<' + str(b)")
elif a > b:
print("str(a) + '>' + str(b)")
else:
print("str(a) + '==' + str(b)") | Traceback (most recent call last):
File "/tmp/tmp7jbd1jdr/tmpxn0eqxu6.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s206975251 | p02391 | u059971171 | 1498028475 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | if a < b:
print( "a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmp91dafcls/tmp7nr2nbja.py", line 1, in <module>
if a < b:
^
NameError: name 'a' is not defined
| |
s976105935 | p02391 | u059971171 | 1498028679 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | a = int(a)
b = int(b)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpc_5l3spc/tmp9c8iwu3d.py", line 1, in <module>
a = int(a)
^
NameError: name 'a' is not defined
| |
s132820119 | p02391 | u059971171 | 1498028800 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | if a < b:
print(a < b)
else if a > b:
print(a > b)
else:
print(a == b) | File "/tmp/tmpy9v_m_6z/tmpsaq5webq.py", line 3
else if a > b:
^^
SyntaxError: expected ':'
| |
s911677721 | p02391 | u059971171 | 1498029078 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | a,b=[int(i) for i in input().split()]:
if a < b:
print("a < b")
else if a > b:
print("a > b")
else:
print("a == b") | File "/tmp/tmpw__i1ixa/tmpjjgeu6s6.py", line 1
a,b=[int(i) for i in input().split()]:
^
SyntaxError: invalid syntax
| |
s365826172 | p02391 | u818923713 | 1498029495 | Python | Python3 | py | Runtime Error | 0 | 0 | 31 | return a > b or a < b or a == b | File "/tmp/tmpvxo1gbr1/tmp02wevph6.py", line 1
return a > b or a < b or a == b
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s318580099 | p02391 | u923630348 | 1498029651 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 |
if a < b:
print"a < b"
elif a > b:
print"a > b"
elif a == b:
print"a == b" | File "/tmp/tmpusa3rhya/tmpilahqig7.py", line 4
print"a < b"
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s721997930 | p02391 | u923630348 | 1498029711 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | a, b = map(int,raw_input().split())
if a<b:
print "a < b"
elif a>b:
print "a > b"
elif a==b:
print "a == b"
else:
print "none" | File "/tmp/tmp3qol_2_s/tmpfd_1jqyo.py", line 4
print "a < b"
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s272728389 | p02391 | u818923713 | 1498029732 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | a = int(input())
b = int(input())
c = int(input())
if a > b:
print(a > b)
if a < b:
print(a < b)
if a == b:
print(a == b) | Traceback (most recent call last):
File "/tmp/tmpj61kmozy/tmpvgyo_31v.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s449519257 | p02391 | u923630348 | 1498029834 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | a, b = map(int,raw_input().split())
if a<b:
print ("a < b")
elif a>b:
print ("a > b")
elif a==b:
print ("a == b")
else:
print ("none") | Traceback (most recent call last):
File "/tmp/tmpnftamg8f/tmpqqv_qh1l.py", line 1, in <module>
a, b = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s855933659 | p02391 | u818923713 | 1498029856 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | a = int(input())
b = int(input())
c = int(input())
if a > b:
print("a > b")
elif a < b:
print("a < b")
elif a == b:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpfv4zihnu/tmpkk0c1f9y.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s692316618 | p02391 | u818923713 | 1498029937 | Python | Python3 | py | Runtime Error | 0 | 0 | 156 | a = int(input())
b = int(input())
c = int(input())
if a > b:
print('a > b')
if a < b:
print('a < b')
if a == b:
print('a == b')
else:
print('none') | Traceback (most recent call last):
File "/tmp/tmpo4fdix43/tmp25x_d51v.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s322546795 | p02391 | u818923713 | 1498030001 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | a = int(input())
b = int(input())
if a > b:
print('a > b')
if a < b:
print('a < b')
if a == b:
print('a == b')
else:
print('none') | Traceback (most recent call last):
File "/tmp/tmp15n1pva2/tmpyohsmm9z.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s885071018 | p02391 | u831971779 | 1498030028 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | a,b = int(input().split())
if a > b:
return ("a > b")
elif a < b:
return ("a < b ")
else:
return ("a == b") | File "/tmp/tmpk2qjx978/tmp4q4lnctx.py", line 3
return ("a > b")
^^^^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s894730978 | p02391 | u059971171 | 1498030045 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | a,b = [int(i) for i in input().split()
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | File "/tmp/tmpfb3t38wh/tmponiznj4f.py", line 1
a,b = [int(i) for i in input().split()
^
SyntaxError: '[' was never closed
| |
s791638295 | p02391 | u831971779 | 1498030147 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | [a,b] = int(input().split())
if a > b:
return ("a > b")
elif a < b:
return ("a < b ")
else:
return ("a == b") | File "/tmp/tmp79m_hrtq/tmp3a3yv_tm.py", line 3
return ("a > b")
^^^^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s696402584 | p02391 | u059971171 | 1498030320 | Python | Python3 | py | Runtime Error | 0 | 0 | 198 | a,b = [int(i) for i in input().split()]
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | File "/tmp/tmp1q7p6fzx/tmpnsnzuq62.py", line 1
a,b = [int(i) for i in input().split()]
IndentationError: unexpected indent
| |
s113715824 | p02391 | u059971171 | 1498030463 | Python | Python3 | py | Runtime Error | 0 | 0 | 196 | a,b = [int(i) for i in input().split()]
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | File "/tmp/tmpig78dosy/tmp85dm3iql.py", line 2
if a < b:
IndentationError: unexpected indent
| |
s256863728 | p02391 | u818923713 | 1498030511 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | a,b = map(int,split())
if a > b:
print('a > b')
elif a < b:
print('a < b')
elif a == b:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmp5848834h/tmpt80ebcnx.py", line 1, in <module>
a,b = map(int,split())
^^^^^
NameError: name 'split' is not defined
| |
s376184063 | p02391 | u818923713 | 1498030537 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | a,b = map(int,split())
if a > b:
print('a > b')
elif a < b:
print('a < b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmp18_rlwry/tmp2rzqpz2u.py", line 1, in <module>
a,b = map(int,split())
^^^^^
NameError: name 'split' is not defined
| |
s923426437 | p02391 | u818923713 | 1498030574 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | a,b = map(int,input(),split())
if a > b:
print('a > b')
elif a < b:
print('a < b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmp_ajwh7y0/tmp3gv8biix.py", line 1, in <module>
a,b = map(int,input(),split())
^^^^^^^
EOFError: EOF when reading a line
| |
s563469294 | p02391 | u818923713 | 1498030809 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | a,b = map(int.input().split())
if a > b:
print('a > b')
elif a < b:
print('a < b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmpub1fo27m/tmpytk9mezj.py", line 1, in <module>
a,b = map(int.input().split())
^^^^^^^^^
AttributeError: type object 'int' has no attribute 'input'
| |
s251319422 | p02391 | u818923713 | 1498030842 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | a, b = map(int.input().split())
if a > b:
print('a > b')
elif a < b:
print('a < b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmpe7bzy__7/tmp44sz18q2.py", line 1, in <module>
a, b = map(int.input().split())
^^^^^^^^^
AttributeError: type object 'int' has no attribute 'input'
| |
s075326401 | p02391 | u289756654 | 1498199595 | Python | Python3 | py | Runtime Error | 0 | 0 | 730 | # HRM??????
l = map(int, raw_input().split())
if l[0] < 0:
if l[1] < 0:
if (l[0] - l[1]) == 0:
print str(l[0]) + " == " + str(l[1])
break
elif (l[0] - l[1]) < 0:
print str(l[0]) + " < " + str(l[1])
break
else:
print str(l[0]) + " > " + str(l[1])
break
else:
print str(l[0]) + " < " + str(l[1])
break
elif l[1] < 0:
print str(l[0]) + " > " + str(l[1])
break
else:
if (l[0] - l[1]) == 0:
print str(l[0]) + " == " + str(l[1])
break
elif (l[0] - l[1]) < 0:
print str(l[0]) + " > " + str(l[1])
break
else:
print str(l[0]) + " < " + str(l[1])
break | File "/tmp/tmp0zyridbn/tmpkmg5gdna.py", line 6
print str(l[0]) + " == " + str(l[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s821474462 | p02391 | u844704750 | 1498681446 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | a, b = map(int, raw_input().split())
if a > b:
print ("a > b")
elif a == b:
print ("a == b")
else :
print ("a < b") | Traceback (most recent call last):
File "/tmp/tmp40l39e2v/tmpgbb6koyt.py", line 1, in <module>
a, b = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s440564356 | p02391 | u844704750 | 1498681569 | Python | Python | py | Runtime Error | 0 | 0 | 123 | a, b = map(int, input().split())
if a > b:
print ("a > b")
elif a == b:
print ("a == b")
else :
print ("a < b") | Traceback (most recent call last):
File "/tmp/tmpw_9izpr2/tmplwxekfqk.py", line 1, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s273787335 | p02391 | u239524997 | 1498873107 | Python | Python | py | Runtime Error | 0 | 0 | 170 | ab = input()
num_ab = ab.split()
if int(num_ab[0]) < int(num_ab[1]):
print('a < b')
elif int(num_ab[0]) > int(num_ab[1]):
print('a > b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmp7uaveugr/tmp6_wvsoeb.py", line 1, in <module>
ab = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s198694450 | p02391 | u239524997 | 1498873426 | Python | Python | py | Runtime Error | 0 | 0 | 177 | ab = 0
ab = input()
num_ab = ab.split()
if int(num_ab[0]) < int(num_ab[1]):
print('a < b')
elif int(num_ab[0]) > int(num_ab[1]):
print('a > b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmpxf2vweve/tmp0d9g5wsi.py", line 2, in <module>
ab = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s286644210 | p02391 | u257897291 | 1498985971 | Python | Python3 | py | Runtime Error | 0 | 0 | 186 | while True:
ip = input()
ip = ip.strip().split()
a,b = int(ip[0]),int(ip[1])
if a > b:
print("a > b")
elif a < b:
print("a < b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpkgf5ugo5/tmpenzpq2ae.py", line 2, in <module>
ip = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s630231389 | p02391 | u350064373 | 1499238497 | Python | Python3 | py | Runtime Error | 0 | 0 | 219 | import re
given = input("")
result = re.search(r"([0-9]+)\s([0-9]+)", given)
a = int(result.group(1))
b = int(result.group(2))
if a == b:
print(a, ==, b)
elif a < b:
print(a, <, b)
else:
print(a, >, b) | File "/tmp/tmpyvuzxlbi/tmp3n13gaau.py", line 11
print(a, ==, b)
^^
SyntaxError: invalid syntax
| |
s232829228 | p02391 | u553951959 | 1499489584 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | a = int(input () )
b = int(input () )
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmppk8vva2k/tmpjoo14h2j.py", line 1, in <module>
a = int(input () )
^^^^^^^^
EOFError: EOF when reading a line
| |
s595406467 | p02391 | u553951959 | 1499489743 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | a = int(input () )
b = int(input () )
if a < b:
print(a,"<",b)
elif a > b:
print(a,">",b)
else:
print(a,"==",b) | Traceback (most recent call last):
File "/tmp/tmpjsffpqcx/tmp19i7t0er.py", line 1, in <module>
a = int(input () )
^^^^^^^^
EOFError: EOF when reading a line
| |
s836380019 | p02391 | u184989919 | 1499499611 | Python | Python3 | py | Runtime Error | 0 | 0 | 244 | num = list(map(int,input().split()))
a = num[0]
b = num[1]
output = str(a)
if a<b:
output=output+" < ";
elif a>b:
output=output+" > ";
else:
output=output+" = ";
print(output+str(b)) | File "/tmp/tmpakcqc_6s/tmpq8abjry2.py", line 1
num = list(map(int,input().split()))
IndentationError: unexpected indent
| |
s374401423 | p02391 | u311299757 | 1499695484 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | [a,b] = input().split()
a = int(a)
b= int(b)
if(a == b):
print('a=b')
elif(a > b):
print("a>b")
else:
print("a<b) | File "/tmp/tmplyp1pa79/tmptk9sh2cy.py", line 9
print("a<b)
^
SyntaxError: unterminated string literal (detected at line 9)
| |
s243409735 | p02391 | u043639882 | 1499823790 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | a,b=int(input().split())
if a<b:
print("a<b")
elif a=b:
print("a=b")
else:
print("a>b") | File "/tmp/tmp18b5a0ko/tmpm8kbg8nn.py", line 4
elif a=b:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s457636404 | p02391 | u043639882 | 1499823870 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | a,b=int(input().split())
if a<b:
print("a<b")
elif a==b:
print("a=b")
else:
print("a>b") | Traceback (most recent call last):
File "/tmp/tmp36jcwh62/tmpb6ffxz61.py", line 1, in <module>
a,b=int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s268506970 | p02391 | u853619096 | 1500302381 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | a,b = [int(i) for i in input().split()]
if a < b:
print("{a}<{b}".format())
if a > b:
print("{a}>{b}".format())
if a == b:
print("{a}=={b}".format()) | Traceback (most recent call last):
File "/tmp/tmph3oexetj/tmprh9lw_j_.py", line 1, in <module>
a,b = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s574971818 | p02391 | u954858867 | 1500543279 | Python | Python | py | Runtime Error | 0 | 0 | 264 | import sys
def main():
input_line1 = raw_input()
work = input_line1.split(' ')
ret = 'a<b'
if work[0] == work[1]:
ret = 'a==b'
if work[0] > work[1]:
ret = 'a>b'
return ret
if __name__ == '__main__':
sys.exit(main()) | Traceback (most recent call last):
File "/tmp/tmpt_y8lqnl/tmpl0twy4dd.py", line 14, in <module>
sys.exit(main())
^^^^^^
File "/tmp/tmpt_y8lqnl/tmpl0twy4dd.py", line 3, in main
input_line1 = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s585391015 | p02391 | u954858867 | 1500543407 | Python | Python | py | Runtime Error | 0 | 0 | 268 | import sys
def main():
input_line1 = raw_input()
work = input_line1.split(' ')
ret = 'a < b'
if work[0] == work[1]:
ret = 'a == b'
if work[0] > work[1]:
ret = 'a > b'
return ret
if __name__ == '__main__':
sys.exit(main()) | Traceback (most recent call last):
File "/tmp/tmpipy690f6/tmp_te5xvtd.py", line 14, in <module>
sys.exit(main())
^^^^^^
File "/tmp/tmpipy690f6/tmp_te5xvtd.py", line 3, in main
input_line1 = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s781813358 | p02391 | u471400255 | 1500621509 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | a b = input()
if a < b:
print("a < b")
elif a > b:
print("a > b")
elif a == b:
print("a == b") | File "/tmp/tmpud864n64/tmpc8k9nt66.py", line 1
a b = input()
^
SyntaxError: invalid syntax
| |
s083559072 | p02391 | u589574479 | 1501332639 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | a = int(input())
b = int(input())
if(a > b)
print(a,">",b)
if(a < b)
print(a,"<",b)
else
print(a,"==",b) | File "/tmp/tmph1zex_j0/tmpsosdku57.py", line 4
if(a > b)
^
SyntaxError: expected ':'
| |
s144887304 | p02391 | u019519814 | 1501333100 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | a, b = map(int, input().split())
if a > b
print('a > b')
elif a < b
print('a < b')
else
print('a == b') | File "/tmp/tmpp_zc9gof/tmprfygjtck.py", line 3
if a > b
^
SyntaxError: expected ':'
| |
s046760466 | p02391 | u997714038 | 1501477725 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | a,b = map(int,input().split())
if a < b:
print('a < b')
elif a == b:
print('a == b')
else:
print('a > b') | File "/tmp/tmpmzsfzj81/tmp0abshi19.py", line 3
if a < b:
IndentationError: unexpected indent
| |
s028447265 | p02391 | u997714038 | 1501477777 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | while True:
a,b = map(int,input().split())
if a < b:
print('a < b')
elif a == b:
print('a == b')
elif:
print('a > b') | File "/tmp/tmp0i3n238l/tmpkpmp_ypv.py", line 8
elif:
^
SyntaxError: invalid syntax
| |
s372633101 | p02391 | u821624310 | 1502061135 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | a, b = int(input())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a = b") | Traceback (most recent call last):
File "/tmp/tmpproym7zc/tmpktr_4ikt.py", line 1, in <module>
a, b = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s486429712 | p02391 | u821624310 | 1502061195 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | a, b = int(input())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpxxmzem4z/tmp6c26yebg.py", line 1, in <module>
a, b = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s959659445 | p02391 | u744121389 | 1502367241 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | a,b = map(input().split())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmp0ob8couv/tmp9_fg4jpk.py", line 1, in <module>
a,b = map(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s444682114 | p02391 | u316697096 | 1503133304 | Python | Python | py | Runtime Error | 0 | 0 | 104 | a,b=map(int,raw_input().split())
if a==b
print "a==b"
elseif a<b
print "a<b"
else a>b
print "a>b" | File "/tmp/tmprss07tjn/tmp3r2g10r8.py", line 3
if a==b
^
SyntaxError: expected ':'
| |
s549663614 | p02391 | u316697096 | 1503133533 | Python | Python | py | Runtime Error | 0 | 0 | 102 | a,b=map(int,raw_input().split())
if a==b
print "a==b"
elif a<b
print "a<b"
else a>b
print "a>b" | File "/tmp/tmpogt6eh67/tmpqk29zzj0.py", line 3
if a==b
^
SyntaxError: expected ':'
| |
s678327998 | p02391 | u316697096 | 1503133845 | Python | Python | py | Runtime Error | 0 | 0 | 103 | a,b=map(int,raw_input().split())
if a==b:
print "a==b"
elif a<b:
print "a<b"
else a>b:
print "a>b" | File "/tmp/tmpz8ypp8ct/tmpg6ykxlph.py", line 4
print "a==b"
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s394724070 | p02391 | u617778316 | 1503472162 | Python | Python | py | Runtime Error | 0 | 0 | 113 | a,b=map(int,raw_input().split())
if a<b:
print 'a<b'
else if a>=b:
print 'a>=b'
else if a==b:
print 'a==b' | File "/tmp/tmpayzbi0n_/tmpfj39neez.py", line 4
print 'a<b'
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s706126030 | p02391 | u617778316 | 1503472190 | Python | Python | py | Runtime Error | 0 | 0 | 105 | a,b=map(int,raw_input().split())
if a<b:
print 'a<b'
else if a>=b:
print 'a>=b'
else:
print 'a==b' | File "/tmp/tmp7s5b4oib/tmpr07w74yg.py", line 4
print 'a<b'
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s367381613 | p02391 | u617778316 | 1503472682 | Python | Python | py | Runtime Error | 0 | 0 | 109 | a,b=map(int,raw_input().split())
if a<b:
print 'a < b'
else if a>b:
print 'a > b'
else:
print 'a == b' | File "/tmp/tmpw9vyvtvn/tmpmx5bepeh.py", line 4
print 'a < b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s637438918 | p02391 | u544943822 | 1503472714 | Python | Python | py | Runtime Error | 0 | 0 | 109 | a,b=map(int, raw_input().split())
if a>b:
print 'a > b'
elif a<b:
print 'a < b'
else a==b:
print 'a == b' | File "/tmp/tmpganhvfdn/tmphyeacgo4.py", line 4
print 'a > b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s742763301 | p02391 | u617778316 | 1503472714 | Python | Python | py | Runtime Error | 0 | 0 | 110 | a, b=map(int,raw_input().split())
if a<b:
print 'a < b'
else if a>b:
print 'a > b'
else:
print 'a == b' | File "/tmp/tmplnkp3h51/tmp42jx57qg.py", line 4
print 'a < b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s802887301 | p02391 | u617778316 | 1503472728 | Python | Python | py | Runtime Error | 0 | 0 | 112 | a, b = map(int,raw_input().split())
if a<b:
print 'a < b'
else if a>b:
print 'a > b'
else:
print 'a == b' | File "/tmp/tmpqlcdh2xx/tmp9ijm_vnu.py", line 4
print 'a < b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s526800431 | p02391 | u617778316 | 1503472766 | Python | Python | py | Runtime Error | 0 | 0 | 110 | a, b=map(int,raw_input().split())
if a>b:
print 'a > b'
else if a<b:
print 'a < b'
else:
print 'a == b' | File "/tmp/tmphts1abfa/tmp1l4bu1u8.py", line 4
print 'a > b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s311393793 | p02391 | u617778316 | 1503472788 | Python | Python | py | Runtime Error | 0 | 0 | 112 | a, b = map(int,raw_input().split())
if a>b:
print 'a > b'
else if a<b:
print 'a < b'
else:
print 'a == b' | File "/tmp/tmpvywnz46b/tmp4qmaf858.py", line 4
print 'a > b'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s482191509 | p02391 | u096862087 | 1503505249 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | a = int(input())
b = int(input())
if a == b:
operator = "=="
else:
operator = ">" if a > b else "<"
print("a {0} b".format(operator)) | Traceback (most recent call last):
File "/tmp/tmpjxgbdk_w/tmp4zdp42r4.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s444471651 | p02391 | u956226421 | 1504578656 | Python | Python | py | Runtime Error | 0 | 0 | 126 | I = input().split()
if I[0] < I[1]:
print("a < b")
if I[0] > I[1]:
print("a > b")
if I[0] == I[1]:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpf58e0qfq/tmps8gitdt_.py", line 1, in <module>
I = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s207038470 | p02391 | u956226421 | 1504578720 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | I = int(input().split())
if I[0] < I[1]:
print("a < b")
if I[0] > I[1]:
print("a > b")
if I[0] == I[1]:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmp4s856323/tmprp252u8d.py", line 1, in <module>
I = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s469953899 | p02391 | u933096856 | 1504902200 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | a,b=map(int,ijnput().split())
if a < b:
print('a < b')
elif a > b:
print('a > b')
else:
print('a == b') | Traceback (most recent call last):
File "/tmp/tmp_l9cf7h_/tmp3x64_eni.py", line 1, in <module>
a,b=map(int,ijnput().split())
^^^^^^
NameError: name 'ijnput' is not defined. Did you mean: 'input'?
| |
s285666819 | p02391 | u664228906 | 1506307926 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | a,b=map(int, input().split())
if a > b: print("a > b")
elif a<b: print("a < b")
else print("a == b") | File "/tmp/tmplq3kq62i/tmpdf1o2sf8.py", line 4
else print("a == b")
^^^^^
SyntaxError: expected ':'
| |
s525160985 | p02391 | u936401118 | 1506488256 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | a, b = int(input().split())
if a < b:
print ("a < b")
elif b < a:
print ("a > b")
else:
print ("a == b") | Traceback (most recent call last):
File "/tmp/tmpe1m3bj9f/tmpsch6spv1.py", line 1, in <module>
a, b = int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s543600643 | p02391 | u102664642 | 1507822791 | Python | Python | py | Runtime Error | 0 | 0 | 115 | l = map(int,raw_input().split())
if l[0] > l[1]:
print a > b
elif l[0] < l[1]:
print a < b
else:
print a == b | File "/tmp/tmpb4d1yah1/tmps7r0rv9h.py", line 3
print a > b
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s773468832 | p02391 | u197670577 | 1508057390 | Python | Python | py | Runtime Error | 0 | 0 | 128 | a, b = [int(i) for i in raw_input().split()]
if a < b:
print "a < b"
elif a > b:
print "a > b":
else:
print "a == b" | File "/tmp/tmpn_q3x55u/tmpr3gfmryb.py", line 3
print "a < b"
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s729572408 | p02391 | u824030785 | 1508251064 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | a = int(input())
b = int(input())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else
print("a = b") | File "/tmp/tmp_d6d42r9/tmpqqwzebhx.py", line 7
else
^
SyntaxError: expected ':'
| |
s386704905 | p02391 | u824030785 | 1508251232 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | a = int(input())
b = int(input())
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmph8daj38v/tmpmt7yshlp.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s786104373 | p02391 | u424457654 | 1508292006 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | a, b = map(int, input().split)
if a < b:
print("a < b")
elif a > b:
print("a > b")
else:
print("a == b") | Traceback (most recent call last):
File "/tmp/tmpee445tym/tmpmps9qxq0.py", line 1, in <module>
a, b = map(int, input().split)
^^^^^^^
EOFError: EOF when reading a line
| |
s532789694 | p02391 | u626266743 | 1508292991 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | a = int(input())
b = int(input())
if a > b:
print("a > b")
else if a == b:
print("a == b")
else if a < b:
print("a < b") | File "/tmp/tmpq8l25hdh/tmpjf20zgoj.py", line 5
else if a == b:
^^
SyntaxError: expected ':'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.