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
s732797512
p02391
u788795188
1482163721
Python
Python3
py
Runtime Error
0
0
123
a,b=int(input()) if a<b: print(str(a)+<+str(b)) elif a>b: print(str(a)+>+str(b)) else: print(str(a)+==+str(b))
File "/tmp/tmp_blahdib/tmpj7w9vxdb.py", line 4 print(str(a)+<+str(b)) ^ SyntaxError: invalid syntax
s228755214
p02391
u788795188
1482163756
Python
Python3
py
Runtime Error
0
0
123
a,b=input(int()) if a<b: print(str(a)+<+str(b)) elif a>b: print(str(a)+>+str(b)) else: print(str(a)+==+str(b))
File "/tmp/tmptb82jldb/tmp3qbzy6v8.py", line 4 print(str(a)+<+str(b)) ^ SyntaxError: invalid syntax
s182290418
p02391
u865138391
1482498409
Python
Python3
py
Runtime Error
0
0
104
a,b = map(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/tmp1koczs0_/tmpb82vx13g.py", line 1, in <module> a,b = map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s503621960
p02391
u493187281
1482675744
Python
Python3
py
Runtime Error
0
0
93
a=int(input()) b=int(input()) if a<b: print("a<b") elif a>b: print("a>b") else: print("a==b")
File "/tmp/tmpk6j1wwem/tmpmhz9c4gt.py", line 4 print("a<b") ^ IndentationError: expected an indented block after 'if' statement on line 3
s150244803
p02391
u493187281
1482675925
Python
Python3
py
Runtime Error
0
0
93
a=int(input()) b=int(input()) if a<b: print("a<b") elif a>b: print("a>b") else: print("a==b")
File "/tmp/tmphz0y2ldk/tmpj5byawn1.py", line 4 print("a<b") ^ IndentationError: expected an indented block after 'if' statement on line 3
s980680547
p02391
u019678978
1482855664
Python
Python
py
Runtime Error
0
0
158
soboe = raw_input() al = soboe.split(' ') a = al[0] b = al[1] if a < b : print('a < b') elif a > b : print('a > b') else a == b : print('a == b')
File "/tmp/tmpfdwprrjl/tmp7hb4660f.py", line 9 else a == b : ^ SyntaxError: expected ':'
s206255245
p02391
u656153606
1484356021
Python
Python3
py
Runtime Error
0
0
161
inputlist = int(input().split()) a = inputlist[0] b = inputlist[1] 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/tmpvqzy9_fg/tmp0rg9piu9.py", line 1, in <module> inputlist = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s062824945
p02391
u365686736
1484360340
Python
Python
py
Runtime Error
0
0
95
a,b = map(int, input().split()) if a<b:print "a < b" elif a>b:print "a > b" else:print "a == b"
File "/tmp/tmpgje3u9vy/tmpfgc11wdg.py", line 2 if a<b:print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s902435158
p02391
u519227872
1485261776
Python
Python
py
Runtime Error
0
0
121
a,b = map(raw_input().split(" "),int) if a < b: print "a < b" elsif print a > b: print "a > b" else: print "a == b"
File "/tmp/tmp1_4b94qy/tmp9hlia6uu.py", line 3 print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s881782060
p02391
u519227872
1485261889
Python
Python
py
Runtime Error
0
0
121
a,b = map(int,raw_input().split(" ")) if a < b: print "a < b" elsif print a > b: print "a > b" else: print "a == b"
File "/tmp/tmpxbrw3s5g/tmpbtigyp24.py", line 3 print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s340632472
p02391
u519227872
1485261982
Python
Python
py
Runtime Error
0
0
121
a,b = map(int,raw_input().split(" ")) if a < b: print "a < b" elif print a > b: print "a > b" else: print "a == b"
File "/tmp/tmph4hkeh5a/tmps0lt3l6_.py", line 4 print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s121758228
p02391
u519227872
1485262154
Python
Python
py
Runtime Error
0
0
115
a,b = map(int,raw_input().split(" ")) if a < b: print "a < b" elsif a > b: print "a > b" else: print "a == b"
File "/tmp/tmp2zics36s/tmp0shsbt_i.py", line 3 print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s004168910
p02391
u519227872
1485262801
Python
Python
py
Runtime Error
0
0
94
a,b,c = map(int,raw_input().split(" ")) if a < b and b < c: print "Yes" else: print "No"
File "/tmp/tmp8rd9j61_/tmpctaz8sex.py", line 4 print "Yes" ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s741567864
p02391
u104171359
1486001171
Python
Python3
py
Runtime Error
0
0
358
#!usr/bin/env python3 def string_number_spliter(): a, b = [int(i) for i in input().split()] return a, b def main(): a, b = string_number_spliter() if (a < b): print(str(a) + " < " str(b)) elif (a < b): print(str(a) + " > " str(b)) else: print(str(a) + " == " str(b)) if __name__ == '__main__': main()
File "/tmp/tmpo12i_v8a/tmpz8rfiz4v.py", line 12 print(str(a) + " < " str(b)) ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s029078426
p02391
u104171359
1486002256
Python
Python
py
Runtime Error
0
0
417
#!usr/bin/env python3 def string_two_numbers_spliter(): a, b = [int(i) for i in input('Enter two numbers concatenated ' + 'by a single space between two numbers, e.g. \'1 2\': ').split()] return a, b def main(): a, b = string_two_numbers_spliter() if a < b: print('a < b') elif a > b: print('a > b') else: print('a == b') if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpbs7sn9sk/tmpnhwbapfo.py", line 21, in <module> main() File "/tmp/tmpbs7sn9sk/tmpnhwbapfo.py", line 10, in main a, b = string_two_numbers_spliter() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpbs7sn9sk/tmpnhwbapfo.py", line 4, in string_two_numbers_spliter a, b = [int(i) for i in input('Enter two numbers concatenated ' + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
Enter two numbers concatenated by a single space between two numbers, e.g. '1 2':
s310991268
p02391
u104171359
1486002265
Python
Python
py
Runtime Error
0
0
322
#!usr/bin/env python3 def string_two_numbers_spliter(): a, b = [int(i) for i in input().split()] return a, b def main(): a, b = string_two_numbers_spliter() if a < b: print('a < b') elif a > b: print('a > b') else: print('a == b') if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpdt8j4bx1/tmpvece3nl5.py", line 20, in <module> main() File "/tmp/tmpdt8j4bx1/tmpvece3nl5.py", line 9, in main a, b = string_two_numbers_spliter() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpdt8j4bx1/tmpvece3nl5.py", line 4, in string_two_numbers_spliter a, b = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s936084262
p02391
u307520683
1486037857
Python
Python
py
Runtime Error
0
0
132
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/tmp9345l88g/tmpiqv96lqq.py", line 4 print "a < b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s972639117
p02391
u553058997
1487754853
Python
Python3
py
Runtime Error
0
0
131
a,b = list(map(int, input().split())) if (a == b) { print(a, '==', b) } elif (a > b) { print(a, '>', b) } else { print(a, '<', b) }
File "/tmp/tmpl94gufto/tmpe455f4v8.py", line 2 if (a == b) { ^ SyntaxError: invalid syntax
s809874669
p02391
u041208129
1488122588
Python
Python3
py
Runtime Error
0
0
185
a, b = map(int, input().split()) if a < b: print("{a} < {b}", format(a=a, b=b)) elif a > b: print("{a} > {b}", format(a=a, b=b)) else: print("{a} == {b}", format(a=a, b=b))
Traceback (most recent call last): File "/tmp/tmp0hngd7zu/tmpajyos9sj.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s789314911
p02391
u041208129
1488122664
Python
Python3
py
Runtime Error
0
0
183
a, b = map(int, input().split()) if a < b: print("{a} < {b}", format(a=a, b=b)) if a > b: print("{a} > {b}", format(a=a, b=b)) else: print("{a} == {b}", format(a=a, b=b))
Traceback (most recent call last): File "/tmp/tmp8_n0esp4/tmpmxuqlb0f.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s799878173
p02391
u024715419
1488124509
Python
Python3
py
Runtime Error
30
7496
129
inp=input() a = int(inp[0]) b = int(inp[1]) if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
Traceback (most recent call last): File "/tmp/tmp0hn4ckej/tmpodyq1vcl.py", line 1, in <module> inp=input() ^^^^^^^ EOFError: EOF when reading a line
s682614218
p02391
u497195381
1488212936
Python
Python
py
Runtime Error
0
0
182
l = map(int, raw_input().split()) if l[0] > l[1]: print str(l[0])+" > "+str(l[1]) elif l[0] == l[1]: print str(l[0])+" == "+str(l[1]) else print str(l[0])+" < "+str(l[1])
File "/tmp/tmpq4g6gxcf/tmp2k0_pli7.py", line 3 print str(l[0])+" > "+str(l[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s691957331
p02391
u497195381
1488212999
Python
Python
py
Runtime Error
0
0
128
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/tmpjrjdza2w/tmpbstgqxo0.py", line 3 print "a > b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s433198613
p02391
u497195381
1488213039
Python
Python
py
Runtime Error
0
0
128
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/tmpgfr8l71m/tmprbv84kx3.py", line 3 print "a > b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s927310355
p02391
u497195381
1488213139
Python
Python
py
Runtime Error
0
0
128
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/tmp9yrcjw51/tmpvmjpjzld.py", line 3 print "a > b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s716243907
p02391
u426534722
1488459714
Python
Python3
py
Runtime Error
0
0
110
a, b = input().split() s = "==" a = abs(a) b = abs(b) if a < b: s = "<" elif a > b: s = ">" print("a", s, "b")
Traceback (most recent call last): File "/tmp/tmphmy3xp9w/tmpehvecolv.py", line 1, in <module> a, b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s646222346
p02391
u343748576
1489112619
Python
Python3
py
Runtime Error
20
7588
141
a, b = [int(x) for x in input().split() if x.isdigit()] if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
Traceback (most recent call last): File "/tmp/tmp1aumv9cz/tmpw193cw18.py", line 1, in <module> a, b = [int(x) for x in input().split() if x.isdigit()] ^^^^^^^ EOFError: EOF when reading a line
s187485080
p02391
u882690530
1489625156
Python
Python3
py
Runtime Error
0
0
226
inps = input().split() if len(inp) >= 2: a = int(inps[0]) b = int(inps[1]) if a > b: print("a > b") elif a < b: print("a < b") else: print("a == b") else: print("Input illegal.")
Traceback (most recent call last): File "/tmp/tmph_v71z6f/tmpv_30v8da.py", line 1, in <module> inps = input().split() ^^^^^^^ EOFError: EOF when reading a line
s708857148
p02391
u042882066
1490664851
Python
Python3
py
Runtime Error
0
0
99
a,b = map(int, input().split(" ") if a<b print("a<b") elif a>b print("a>b") else: print("a==b")
File "/tmp/tmpcl1tv4q_/tmp89d41ep0.py", line 1 a,b = map(int, input().split(" ") ^ SyntaxError: '(' was never closed
s030624473
p02391
u042882066
1490664851
Python
Python3
py
Runtime Error
0
0
99
a,b = map(int, input().split(" ") if a<b print("a<b") elif a>b print("a>b") else: print("a==b")
File "/tmp/tmpkvkk2lns/tmpp2aaolij.py", line 1 a,b = map(int, input().split(" ") ^ SyntaxError: '(' was never closed
s339587561
p02391
u042882066
1490664892
Python
Python3
py
Runtime Error
0
0
104
a,b = map(int, input().split(" ") if a < b print("a<b") elif a > b print("a>b") else : print("a==b")
File "/tmp/tmpw6i_riz3/tmpi64joyxu.py", line 1 a,b = map(int, input().split(" ") ^ SyntaxError: '(' was never closed
s548223494
p02391
u042882066
1490664942
Python
Python3
py
Runtime Error
0
0
105
a,b = map(int, input().split(" ") if a < b : print("a<b") elif a > b : print("a>b") else : print("a==b")
File "/tmp/tmp14kzumhf/tmppe5uqbar.py", line 1 a,b = map(int, input().split(" ") ^ SyntaxError: '(' was never closed
s627252400
p02391
u606989659
1490789860
Python
Python3
py
Runtime Error
0
0
159
a,b = map(int,input().split()) if a < b: print('{}<{}'.format(a,b)) elif a > b: print('{}>{}'.format(a,b)) elif: a == b print('{}=={}'.format(a,b))
File "/tmp/tmp0z0s_1xh/tmpeiodq3ty.py", line 6 elif: a == b ^ SyntaxError: invalid syntax
s837129076
p02391
u606989659
1490790016
Python
Python3
py
Runtime Error
0
0
123
a,b = map(int,input().split()) if a < b: print('a < b') elif a > b: print('a > b') elif: a == b print('a == b')
File "/tmp/tmppafvbwlw/tmpafmw203z.py", line 6 elif: a == b ^ SyntaxError: invalid syntax
s955739283
p02391
u685534465
1491809949
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/tmpq9n9xt2e/tmpuoi22v1h.py", line 4 elif a > b: ^^^^ SyntaxError: invalid syntax
s543925644
p02391
u619570677
1492360493
Python
Python3
py
Runtime Error
0
0
112
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/tmpw9eed4ca/tmpvyicu8uv.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s474506212
p02391
u619570677
1492360554
Python
Python3
py
Runtime Error
0
0
121
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/tmpa7199qrd/tmplhm218f4.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s298449588
p02391
u503144441
1492759823
Python
Python3
py
Runtime Error
0
0
154
def daishou(a,b): -1,000<=a,b<=1,000 if a<b: print("a<b") elif a>b: print("a>b") else: print("a==b") daishou(a,b)
Traceback (most recent call last): File "/tmp/tmpd9szs9q3/tmp8_l21rab.py", line 10, in <module> daishou(a,b) ^ NameError: name 'a' is not defined
s611216274
p02391
u628279257
1493652186
Python
Python3
py
Runtime Error
0
0
84
a,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/tmptu23hchu/tmpo7czg6ss.py", line 1, in <module> a,b=input() ^^^^^^^ EOFError: EOF when reading a line
s141074875
p02391
u628279257
1493652208
Python
Python3
py
Runtime Error
0
0
89
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/tmps3b222x8/tmpeytg_x8i.py", line 1, in <module> a,b=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s550287217
p02391
u628279257
1493652730
Python
Python3
py
Runtime Error
0
0
92
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/tmp_sea7doc/tmpktu1ehz9.py", line 1, in <module> a,b=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s666094946
p02391
u628279257
1493652882
Python
Python3
py
Runtime Error
0
0
102
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/tmpk60np5ao/tmptlqlelro.py", line 1, in <module> a,b=map(int,input.split()) ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s551071610
p02391
u126322807
1493938054
Python
Python
py
Runtime Error
0
0
131
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")
Traceback (most recent call last): File "/tmp/tmpz4yszozt/tmpd1mpdejr.py", line 1, in <module> a, b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s459074165
p02391
u156215655
1494001582
Python
Python
py
Runtime Error
0
0
104
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/tmp5abqljm_/tmpsolgpiun.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s945441746
p02391
u213265973
1494228149
Python
Python3
py
Runtime Error
0
0
143
num = input().split(" ") a = int(num[0]) b = int(num[1]) if a > b: print("a > b") elif a < b: print("a > b) else: print("a == b"))
File "/tmp/tmpehoun5i5/tmpywlm_7_y.py", line 8 print("a > b) ^ SyntaxError: unterminated string literal (detected at line 8)
s816938330
p02391
u213265973
1494228158
Python
Python3
py
Runtime Error
0
0
142
num = input().split(" ") a = int(num[0]) b = int(num[1]) if a > b: print("a > b") elif a < b: print("a > b) else: print("a == b")
File "/tmp/tmpyko8_pry/tmpvsd230oo.py", line 8 print("a > b) ^ SyntaxError: unterminated string literal (detected at line 8)
s065011543
p02391
u650790815
1494288138
Python
Python3
py
Runtime Error
0
0
108
a,b = map(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/tmp27xvo3x4/tmp_afymufk.py", line 1, in <module> a,b = map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s511109234
p02391
u650790815
1494288559
Python
Python3
py
Runtime Error
0
0
116
a,b = map(int,imput().split()) if a < b: print(a,'<',b) elif a > b: print(a,'>',b) else: print(a,'==',b)
Traceback (most recent call last): File "/tmp/tmp6e34xw9w/tmpzmzvobm1.py", line 1, in <module> a,b = map(int,imput().split()) ^^^^^ NameError: name 'imput' is not defined. Did you mean: 'input'?
s405555291
p02391
u467175809
1495303859
Python
Python
py
Runtime Error
0
0
116
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/tmpix38wn6t/tmp6tnpbbf1.py", line 3 print "a > b" ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s755774358
p02391
u999594662
1496117617
Python
Python3
py
Runtime Error
0
0
106
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/tmpq3q_9xo4/tmps4qsqhh6.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s467342743
p02391
u999594662
1496117765
Python
Python3
py
Runtime Error
0
0
104
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/tmp7be9e3l0/tmppjw_dyru.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s859530795
p02391
u999594662
1496118004
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/tmp5jthtnky/tmp9xz1v_81.py", line 3 print(???a>b???) ^ SyntaxError: invalid syntax
s887666892
p02391
u999594662
1496118074
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: print(???a==b???)
File "/tmp/tmpq98p3u1h/tmp2blmn9e5.py", line 3 print(???a>b???) ^ SyntaxError: invalid syntax
s097745240
p02391
u999594662
1496118149
Python
Python3
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???)
File "/tmp/tmpdixcju2l/tmputwijl67.py", line 3 print(???a < b???) ^ SyntaxError: invalid syntax
s913699045
p02391
u999594662
1496118313
Python
Python3
py
Runtime Error
0
0
134
a, b = map(int, input().split()) if (a > b): ????????print("a > b") elif (a < b): ????????print("a < b") else: ????????print("a == b")
File "/tmp/tmpl1oqj4qu/tmpwrd97r9z.py", line 3 ????????print("a > b") ^ IndentationError: expected an indented block after 'if' statement on line 2
s183541908
p02391
u999594662
1496118377
Python
Python3
py
Runtime Error
0
0
136
a,b = map(int, input().split()) if (a>b): ????????print("a > b") elif (a<b): ????????print("a < b") elif (a==b): ????????print("a == b")
File "/tmp/tmpv8dv42u9/tmpxugg2xe9.py", line 3 ????????print("a > b") ^ IndentationError: expected an indented block after 'if' statement on line 2
s008304581
p02391
u669360983
1496375644
Python
Python
py
Runtime Error
0
0
87
a,b=int(raw_input()) if a<b: print 'a < b' elif a>b: print'a > b' else: print 'a == b'
File "/tmp/tmpcxr8gmnq/tmp165mnqwt.py", line 2 if a<b: print 'a < b' ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s045805937
p02391
u962381052
1496408292
Python
Python3
py
Runtime Error
0
0
144
a, b = input().split() op = ['==', '>', '<'] result = int(a) - int(b) if result != 0: result = result / abs(result) print(a, op[result], b)
Traceback (most recent call last): File "/tmp/tmpb8d8dkr3/tmpxvmep4by.py", line 1, in <module> a, b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s452740643
p02391
u025362139
1496653635
Python
Python
py
Runtime Error
0
0
131
l = [0] * 2 l = raw_input().split() a = l[0] b = l[1] if(a == b): print a, "=", b elif(a < b): print a, "<", b else: print a,">", b
File "/tmp/tmpij9lq5bo/tmpboxhq2_r.py", line 6 print a, "=", b ^ IndentationError: expected an indented block after 'if' statement on line 5
s264237926
p02391
u025362139
1496653681
Python
Python
py
Runtime Error
0
0
129
l = [0] * 2 l = raw_input().split() a = l[0] b = l[1] if a == b: print a, "=", b elif a < b: print a, "<", b else: print a,">", b
File "/tmp/tmpggq3538d/tmpmznufvyl.py", line 6 print a, "=", b ^ IndentationError: expected an indented block after 'if' statement on line 5
s063231641
p02391
u025362139
1496653799
Python
Python
py
Runtime Error
0
0
129
l = [0] * 2 l = raw_input().split() a = l[0] b = l[1] if a == b: print a, "=", b elif a < b: print a, "<", b else: print a,">", b
File "/tmp/tmpdv8xjq7p/tmpi9x4k_14.py", line 6 print a, "=", b ^ IndentationError: expected an indented block after 'if' statement on line 5
s763088990
p02391
u025362139
1496653838
Python
Python
py
Runtime Error
0
0
130
l = [0] * 2 l = raw_input().split() a = l[0] b = l[1] if a == b: print a, "=", b elif a < b: print a, "<", b else: print a, ">", b
File "/tmp/tmpa9agv1st/tmpzevmrn7t.py", line 6 print a, "=", b ^ IndentationError: expected an indented block after 'if' statement on line 5
s387032599
p02391
u675844759
1496798783
Python
Python3
py
Runtime Error
0
0
117
a , b = [int(i) for i in intput()] if a > b: print("a > b") elif a < b: print("a < b") else: print("a=b")
Traceback (most recent call last): File "/tmp/tmpkddanwd4/tmp6jhl0ndl.py", line 1, in <module> a , b = [int(i) for i in intput()] ^^^^^^ NameError: name 'intput' is not defined. Did you mean: 'input'?
s168913578
p02391
u675844759
1496798814
Python
Python3
py
Runtime Error
0
0
119
a , b = [int(i) for i in intput()] if a > b: print("a > b") elif a < b: print("a < b") else: print("a = b")
Traceback (most recent call last): File "/tmp/tmpt9y6a0b8/tmpg7d3yqyw.py", line 1, in <module> a , b = [int(i) for i in intput()] ^^^^^^ NameError: name 'intput' is not defined. Did you mean: 'input'?
s941153971
p02391
u675844759
1496798857
Python
Python3
py
Runtime Error
0
0
127
a , b = [int(i) for i in intput().split()] if a > b: print("a > b") elif a < b: print("a < b") else: print("a = b")
Traceback (most recent call last): File "/tmp/tmp3ix3y_08/tmphahe568n.py", line 1, in <module> a , b = [int(i) for i in intput().split()] ^^^^^^ NameError: name 'intput' is not defined. Did you mean: 'input'?
s822930407
p02391
u569585396
1497509991
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/tmp0v_t2i6d/tmpo5qpo2py.py", line 1, in <module> (a, b) = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s668279955
p02391
u569585396
1497510152
Python
Python3
py
Runtime Error
0
0
133
x = input().split a = int(x[0]) b = int(x[1]) if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
Traceback (most recent call last): File "/tmp/tmpit_et8uc/tmpzeuck2rt.py", line 1, in <module> x = input().split ^^^^^^^ EOFError: EOF when reading a line
s284445923
p02391
u569585396
1497510293
Python
Python3
py
Runtime Error
0
0
151
x = input().split a = int(x[0]) b = int(x[1]) x = "a < b" y = "a > b" z = "a == b" if a < b: print(x) elif a > b: print(y) else: print(z)
Traceback (most recent call last): File "/tmp/tmphi9m3hnv/tmptixfrbig.py", line 1, in <module> x = input().split ^^^^^^^ EOFError: EOF when reading a line
s372077494
p02391
u323082382
1497510763
Python
Python3
py
Runtime Error
0
0
114
a,b = [int(x) for x in input().split()] if a==b: print("a == b") elif a>b: print("a > b") eles: print("a < b")
File "/tmp/tmpb1w5srrr/tmp51gcarj7.py", line 7 eles: ^ SyntaxError: invalid syntax
s922564540
p02391
u027278270
1497510787
Python
Python3
py
Runtime Error
0
0
105
a = int(input()) b = int(input()) if a == b: print("a==b") if a > b: print("a > b") print("a < b")
Traceback (most recent call last): File "/tmp/tmpuo2qm9rq/tmpw2aiqoor.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s083293956
p02391
u478810373
1497510845
Python
Python3
py
Runtime Error
0
0
87
a = int(input()) b = int(input()) oo = a < b ti = a > b ona = a == b print(oo,ti.ona)
Traceback (most recent call last): File "/tmp/tmphakr5xp3/tmp488fdz25.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s279544532
p02391
u323082382
1497510956
Python
Python3
py
Runtime Error
0
0
113
a,b = [int(x) for x in input().split()] if a>b: print("a > b") elif a<b: print("a < b") eles: print("a == b")
File "/tmp/tmph5975s75/tmp39pfl69_.py", line 7 eles: ^ SyntaxError: invalid syntax
s608323724
p02391
u027278270
1497511006
Python
Python3
py
Runtime Error
0
0
115
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/tmpxhui8fsu/tmpd7md0kf9.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s922705660
p02391
u027278270
1497511108
Python
Python3
py
Runtime Error
0
0
116
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/tmpckxzged1/tmpptyei40d.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s214936749
p02391
u323082382
1497511115
Python
Python3
py
Runtime Error
0
0
110
a,b = map(int,input().split()) if a > b : print("a > b") elif a < b : print("a < b") eles: print("a == b")
File "/tmp/tmpj7j4uy8v/tmpbpw96g2h.py", line 7 eles: ^ SyntaxError: invalid syntax
s302547148
p02391
u027278270
1497511187
Python
Python3
py
Runtime Error
0
0
119
a = int(input()) b = 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/tmp44vbv0mx/tmpkp8ey2tj.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s428803518
p02391
u410114382
1497511196
Python
Python3
py
Runtime Error
0
0
33
print(a>b) print(a==b) print(a<b)
Traceback (most recent call last): File "/tmp/tmpwvngj94v/tmp5x0kbs31.py", line 1, in <module> print(a>b) ^ NameError: name 'a' is not defined
s628467703
p02391
u721103753
1497511209
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/tmpdykn3_7a/tmpkgqjbfiu.py", line 1, in <module> [a,b] = map(int,input(),split()) ^^^^^^^ EOFError: EOF when reading a line
s666680263
p02391
u478810373
1497511242
Python
Python3
py
Runtime Error
0
0
63
a = int(input()) b = int(input()) print(a<b,a>b,a==b.split(,))
File "/tmp/tmp1wr742_a/tmp32izmb44.py", line 4 print(a<b,a>b,a==b.split(,)) ^ SyntaxError: invalid syntax
s178380145
p02391
u027278270
1497511249
Python
Python3
py
Runtime Error
0
0
109
a = input() b = 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/tmp_im18n56/tmpb7qjgh15.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s520217937
p02391
u323082382
1497511264
Python
Python
py
Runtime Error
0
0
137
a, b = [int(i) for i in input().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/tmpibiondnt/tmp6i2oyprf.py", line 1, in <module> a, b = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s450305207
p02391
u623827446
1497511418
Python
Python3
py
Runtime Error
0
0
122
s=str(input()) n=a.split(" " 1) a=int(n[0]) b=int(n[1]) if a < b: print(a<b) elif a > b: print(a>b) else: print(a == b)
File "/tmp/tmpmmqg38u7/tmpqexxlo6w.py", line 2 n=a.split(" " 1) ^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s009116659
p02391
u569585396
1497511545
Python
Python3
py
Runtime Error
0
0
136
x = int(input()).split() a = int(x[0]) b = int(x[1]) 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/tmprl7sefbw/tmplzpt40_p.py", line 1, in <module> x = int(input()).split() ^^^^^^^ EOFError: EOF when reading a line
s686964289
p02391
u818923713
1497511616
Python
Python3
py
Runtime Error
0
0
122
a = int(input()) b = 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/tmpho249omh/tmp90_sg8kg.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s966595426
p02391
u818923713
1497511672
Python
Python3
py
Runtime Error
0
0
116
a = int(input()) b = 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/tmphx5st2n3/tmpaz4lwi4_.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s280994473
p02391
u818923713
1497511699
Python
Python3
py
Runtime Error
0
0
112
a = int(input()) b = 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/tmpbok53lky/tmpk955wjsf.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s523408495
p02391
u569585396
1497511716
Python
Python3
py
Runtime Error
0
0
134
x = int(input()).split() a = int(x[0]) b = int(x[1]) if a < b: print('a < b') elif a == b: print('a == b') else: print('a > b')
Traceback (most recent call last): File "/tmp/tmp1hh2n5se/tmpzod_ieg8.py", line 1, in <module> x = int(input()).split() ^^^^^^^ EOFError: EOF when reading a line
s815932822
p02391
u569585396
1497511817
Python
Python3
py
Runtime Error
0
0
138
x = map(int.input().split()) a = int(x[0]) b = int(x[1]) if a < b: print('a < b') elif a == b: print('a == b') else: print('a > b')
Traceback (most recent call last): File "/tmp/tmpp_ak550b/tmpmf1e8e8y.py", line 1, in <module> x = map(int.input().split()) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'input'
s978592271
p02391
u721103753
1497511867
Python
Python3
py
Runtime Error
0
0
115
[a,b] = map(int,input(),split()) if a < b: print(a < b) else if a > b: print(a > b) else: print(a == b)
File "/tmp/tmp5rsurho_/tmpdn21pshs.py", line 4 else if a > b: ^^ SyntaxError: expected ':'
s481748037
p02391
u721103753
1497511950
Python
Python3
py
Runtime Error
0
0
123
[s, n] = [int(x) for x in 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/tmpfc73br9i/tmp7c_lrlr3.py", line 1, in <module> [s, n] = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s974985716
p02391
u658089986
1497511994
Python
Python3
py
Runtime Error
0
0
139
x = input() x = x.split() a = x[0] b = x[1] a = int(a) b = int(b) if a<b: print('a < b') elif a>b: ptint('a > b') else: print('a == b')
Traceback (most recent call last): File "/tmp/tmpggzrc41s/tmpiov_our9.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s253540630
p02391
u623827446
1497512047
Python
Python3
py
Runtime Error
0
0
103
a=input().split() b=list(map(int,a)) if a < b: print(a<b) elif a > b: print(a>b) else: print(a == b)
Traceback (most recent call last): File "/tmp/tmpdde_qoot/tmpg6f38zhw.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s009508379
p02391
u721221949
1497512074
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 == 0")
File "/tmp/tmpprd_xhp4/tmpkt3_5w0c.py", line 3 print("a < b") ^ IndentationError: expected an indented block after 'if' statement on line 2
s702474417
p02391
u623827446
1497512112
Python
Python3
py
Runtime Error
0
0
109
a=input().split() b=list(map(int,a)) if a < b: print('a<b') elif a > b: print('a>b') else: print('a == b')
Traceback (most recent call last): File "/tmp/tmplid3rohg/tmphbisw5gj.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s863292986
p02391
u569585396
1497512195
Python
Python3
py
Runtime Error
0
0
134
x = input().split() i = map(int,x) a = i[0] b = i[1] if a < b: print('a < b') elif a == b: print('a == b') else: print('a > b')
Traceback (most recent call last): File "/tmp/tmpurft04_s/tmp32346gaq.py", line 1, in <module> x = input().split() ^^^^^^^ EOFError: EOF when reading a line
s040480782
p02391
u818923713
1497512207
Python
Python3
py
Runtime Error
0
0
121
a = int(input()) b = 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/tmpr6ulf4cu/tmplzsmsd9p.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s077105510
p02391
u569585396
1497512242
Python
Python3
py
Runtime Error
0
0
140
x = input().split() i = list[map(int,x)] a = i[0] b = i[1] if a < b: print('a < b') elif a == b: print('a == b') else: print('a > b')
Traceback (most recent call last): File "/tmp/tmptovbltdu/tmp2c5zor3n.py", line 1, in <module> x = input().split() ^^^^^^^ EOFError: EOF when reading a line
s693867032
p02391
u818923713
1497512254
Python
Python3
py
Runtime Error
0
0
138
a = int(input()) b = int(input()) if a > b: return print('a > b') if a < b: return print ('a < b') if a == b: return print (' a == b')
File "/tmp/tmpfdbhke_r/tmpou8dklgs.py", line 5 return print('a > b') ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s265418148
p02391
u569585396
1497512402
Python
Python3
py
Runtime Error
0
0
115
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/tmpq_pi2n9x/tmpyr1ako_w.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s351446292
p02391
u059971171
1497512423
Python
Python3
py
Runtime Error
0
0
160
a,b = [int(i) for i in input().split()] if a < b: print(str(a),'<'str(b)) elif a > b: print(str(a),'>'str(b)) elif a == b: print(str(a),'==',str(b))
File "/tmp/tmpbgyt0tt3/tmpsrxw5fbf.py", line 3 print(str(a),'<'str(b)) ^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?