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
s420456392
p02397
u150984829
1513104283
Python
Python3
py
Runtime Error
0
0
100
a=[] while 1: n=input() if n=='0 0':break x,y=map(int,n.split()) print(y,x) if x>y else:print(n)
File "/tmp/tmpbveraylt/tmp9ver184m.py", line 6 print(y,x) if x>y else:print(n) ^ SyntaxError: invalid syntax
s051893598
p02397
u150984829
1513105869
Python
Python3
py
Runtime Error
0
0
93
import sys for a.strip() in sys.stdin: if a=='0 0':break print(*sorted(map(int,a.split())))
File "/tmp/tmpmi8cwol3/tmpv0thy8aj.py", line 2 for a.strip() in sys.stdin: ^^^^^^^^^ SyntaxError: cannot assign to function call
s194548112
p02397
u150984829
1513106420
Python
Python3
py
Runtime Error
0
0
104
a=[] while 1: n=input() if n=='0 0':break a.append(n) for s in a: print(*sorted(map(int,a.split())))
Traceback (most recent call last): File "/tmp/tmp9v4f_28y/tmp0l2okuxk.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s641388421
p02397
u150984829
1513106439
Python
Python3
py
Runtime Error
0
0
104
a=[] while 1: n=input() if n=='0 0':break a.append(n) for s in a: print(*sorted(map(int,a.split())))
Traceback (most recent call last): File "/tmp/tmpi43b6yn8/tmpzii_gmr4.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s947122087
p02397
u150984829
1513107017
Python
Python3
py
Runtime Error
0
0
151
a=[] import sys for s.strip() in sys.stdin: if s=='0 0':break a.append(s) for t in a: x,y=map(int,t.split()) print(f'{y} {x}') if x>y else print(t)
File "/tmp/tmpxbky7eef/tmp8i398zgx.py", line 3 for s.strip() in sys.stdin: ^^^^^^^^^ SyntaxError: cannot assign to function call
s962571197
p02397
u150984829
1513107346
Python
Python3
py
Runtime Error
0
0
120
a=[] import sys for s in sys.stdin: s=s.strip() if s=='0 0':break a.append(s) for t in a: print(*sorted(map(int,t)))
s162818332
p02397
u423320231
1513353404
Python
Python3
py
Runtime Error
0
0
112
x = input() while x != "0": a=x.sort() for i in range(2): print(a[0],a[1]) x = input()
Traceback (most recent call last): File "/tmp/tmp1in31s70/tmplqunpzqm.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s257246073
p02397
u423320231
1513353543
Python
Python3
py
Runtime Error
0
0
129
x = input() while x != "0 0": a=int(x).sort() for i in range(2): print(str(a[0]),str(a[1])) x = input()
Traceback (most recent call last): File "/tmp/tmpxcq5m0mj/tmpyhws9s4p.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s548172807
p02397
u423320231
1513353787
Python
Python3
py
Runtime Error
0
0
151
x = map(int,input().split()) while str(x) != "0 0": a=int(x).sort() for i in range(2): print(str(a[0]),str(a[1])) x = input()
Traceback (most recent call last): File "/tmp/tmpn2pp2muv/tmpqap81y8w.py", line 1, in <module> x = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s361807511
p02397
u365686736
1514645811
Python
Python3
py
Runtime Error
0
0
99
import sys for c in sys.stdin: a,b=sorted(map(int,c.split())) if a=b=0:break print(a,b)
File "/tmp/tmp3mszg7yz/tmp7pctbifi.py", line 4 if a=b=0:break ^ SyntaxError: invalid syntax
s334633700
p02397
u365686736
1514645866
Python
Python3
py
Runtime Error
0
0
100
import sys for c in sys.stdin: a,b=sorted(map(int,c.split())) if a=b==0:break print(a,b)
File "/tmp/tmp14ylkxmm/tmpsy3eww5m.py", line 4 if a=b==0:break ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s475413933
p02397
u179070318
1515988659
Python
Python3
py
Runtime Error
0
0
122
while list[0] != 0 or list[1] != 0: list = [x for x in input().split( )] print(' '.join(map(str,sorted(list))))
Traceback (most recent call last): File "/tmp/tmp0r4_vucy/tmp58vff_cs.py", line 2, in <module> list = [x for x in input().split( )] ^^^^^^^ EOFError: EOF when reading a line
s162217099
p02397
u179070318
1515988857
Python
Python3
py
Runtime Error
0
0
137
list = [] while list[0] != 0 or list[1] != 0: list = [int(x) for x in input().split( )] print(' '.join(map(str,sorted(list))))
Traceback (most recent call last): File "/tmp/tmph36swngk/tmpv0sk7c8c.py", line 2, in <module> while list[0] != 0 or list[1] != 0: ~~~~^^^ IndexError: list index out of range
s111394622
p02397
u506468108
1516298080
Python
Python3
py
Runtime Error
0
0
154
x, y = map(int, input().split()) if(x == 0 & y == 0): false elif(x < y) : print("{0} {1}".format(x, y)) else: print("{0} {1}".format(y, x))
Traceback (most recent call last): File "/tmp/tmpov4pgeyu/tmpfc391m4b.py", line 1, in <module> x, y = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s062610257
p02397
u641357568
1517351562
Python
Python3
py
Runtime Error
0
0
213
while(True): i,j=input().split() if a != 0 and b != 0: if int(i) <= int(j): print('{} {}'.format(i,j)) else: print('{} {}'.format(j,i)) else: break
Traceback (most recent call last): File "/tmp/tmp6wcywsjd/tmpzfz9bkhk.py", line 2, in <module> i,j=input().split() ^^^^^^^ EOFError: EOF when reading a line
s306996020
p02397
u613627875
1518174434
Python
Python3
py
Runtime Error
0
0
91
while True: x = list(int(i) for i in input().split()) x.sort() print(x[0],x[1],sep=" ")
Traceback (most recent call last): File "/tmp/tmp26gu1e97/tmpxpfcp72s.py", line 2, in <module> x = list(int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s804384955
p02397
u602702913
1518775689
Python
Python3
py
Runtime Error
0
0
134
while True: x,y=map(int,input().split()) if x<y: print(x,y) elif y<x: print(y,x) elif x and y !=0: print(x,y)
Traceback (most recent call last): File "/tmp/tmpb89c7w1m/tmptctxw80g.py", line 2, in <module> x,y=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s008513087
p02397
u005739171
1520230394
Python
Python3
py
Runtime Error
0
0
97
while True: a, b = sorted(map.(int,input().split())) if (a == 0) & (b == 0): break print(a,b)
File "/tmp/tmpfgkbvtey/tmp04fyspgb.py", line 2 a, b = sorted(map.(int,input().split())) ^ SyntaxError: invalid syntax
s415985053
p02397
u017435045
1520752071
Python
Python3
py
Runtime Error
0
0
117
while True: a=list(map(int, input().split())) if a = [0,0]:break a.sort() print(a[0],a[1])
File "/tmp/tmp7s62bwy9/tmpjib97ykg.py", line 3 if a = [0,0]:break ^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s564559291
p02397
u017435045
1520752086
Python
Python3
py
Runtime Error
0
0
128
while True: a=list(map(int, input().split())) if a = [0,0]: break a.sort() print(a[0],a[1])
File "/tmp/tmpkumcxh06/tmpb0it5x_u.py", line 3 if a = [0,0]: ^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s243205118
p02397
u017435045
1520752113
Python
Python3
py
Runtime Error
0
0
127
while True: a=list(map(int, input().split())) if a = zero: break a.sort() print(a[0],a[1])
File "/tmp/tmp0cbruve_/tmp65ry8u2s.py", line 3 if a = zero: ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s274746582
p02397
u017435045
1520752213
Python
Python3
py
Runtime Error
0
0
140
while True: a,b=map(int, input().split()) x=[a,b] if a =0 and b=0: break x.sort() print(x[0],x[1])
File "/tmp/tmpzdfmd7ai/tmpit8uhpb4.py", line 4 if a =0 and b=0: ^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s949769546
p02397
u017435045
1520752241
Python
Python3
py
Runtime Error
0
0
129
while True: a,b=map(int, input().split()) x=[a,b] if a =0 and b=0:break x.sort() print(x[0],x[1])
File "/tmp/tmp9ouc2g05/tmpzi1i8kr8.py", line 4 if a =0 and b=0:break ^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s669937156
p02397
u507758132
1521102097
Python
Python3
py
Runtime Error
0
0
143
cnt = 1 c = int(input().split()) while c != 0: c.sort() print("Case {0}: {1} {2}".format(cnt,c[0],c[1])) c = int(input().split()) cnt += 1
Traceback (most recent call last): File "/tmp/tmpo4k_57qm/tmp0ih7rmo6.py", line 2, in <module> c = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s586986724
p02397
u507758132
1521102164
Python
Python3
py
Runtime Error
0
0
165
cnt = 1 c = list(map(int(input().split()))) while c != 0: c.sort() print("Case {0}: {1} {2}".format(cnt,c[0],c[1])) c = list(map(int(input().split()))) cnt += 1
Traceback (most recent call last): File "/tmp/tmp4i8aj648/tmpvdff7jiz.py", line 2, in <module> c = list(map(int(input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s292277169
p02397
u507758132
1521102207
Python
Python3
py
Runtime Error
0
0
163
cnt = 1 c = list(map(int,input().split())) while c != 0: c.sort() print("Case {0}: {1} {2}".format(cnt,c[0],c[1])) c = list(map(int,input().split())) cnt += 1
Traceback (most recent call last): File "/tmp/tmpad4qn72u/tmpsdm7ymwm.py", line 2, in <module> c = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s363041725
p02397
u507758132
1521102259
Python
Python3
py
Runtime Error
0
0
163
cnt = 1 c = list(map(int,input().split())) while c != 0: c.sort() print("Case {0}: {1} {2}".format(cnt,c[0],c[1])) c = list(map(int,input().split())) cnt += 1
Traceback (most recent call last): File "/tmp/tmp8cu534i5/tmp4yxdgh6l.py", line 2, in <module> c = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s033578370
p02397
u229478139
1521732477
Python
Python3
py
Runtime Error
0
0
221
def Hantei(a,b): if a <= b: print("{} {}".format(a,b)) elif a > b: print("{} {}".format(b,a)) while True: a ,b=input().split() if (a==0)and(b==0): break Hantei(int(a),int(b))
Traceback (most recent call last): File "/tmp/tmph5kq4gh_/tmpw0osnypx.py", line 9, in <module> a ,b=input().split() ^^^^^^^ EOFError: EOF when reading a line
s434151352
p02397
u229478139
1521732548
Python
Python3
py
Runtime Error
0
0
221
def Hantei(a,b): if a <= b: print("{} {}".format(a,b)) elif a > b: print("{} {}".format(b,a)) while True: a ,b=input().split() if (a==0)and(b==0): break Hantei(int(a),int(b))
Traceback (most recent call last): File "/tmp/tmp4rfbjlh0/tmp0exoni5p.py", line 9, in <module> a ,b=input().split() ^^^^^^^ EOFError: EOF when reading a line
s243502119
p02397
u621084859
1522375647
Python
Python3
py
Runtime Error
0
0
80
a=int(input()) for i in range(a): print("Hello World")a=int(input())
File "/tmp/tmpbcrmbk72/tmpftamgnov.py", line 2 for i in range(a): IndentationError: unexpected indent
s515628803
p02397
u621084859
1522389802
Python
Python3
py
Runtime Error
0
0
92
a=input().split(" ") b=int(a[0]) c=int(a[1]) a.sort(b,c) if c==0: break print(b[0],c[1]
File "/tmp/tmps9siu0nu/tmpr07miyl2.py", line 7 print(b[0],c[1] ^ SyntaxError: '(' was never closed
s753747719
p02397
u621084859
1522389926
Python
Python3
py
Runtime Error
0
0
142
while Ture: a=input().split(" ") b=int(a[0]) c=int(a[1]) a.sort(b,c) if c==0: break print(b[0],c[1]
File "/tmp/tmptwkfsf7l/tmp9jcplaof.py", line 8 print(b[0],c[1] ^ SyntaxError: '(' was never closed
s407833187
p02397
u621084859
1522390046
Python
Python3
py
Runtime Error
0
0
86
a=input().split(" ") b=int(a[0]) c=int(a[1]) a.sort(b,c) if c==0: print(b[0],c[0])
Traceback (most recent call last): File "/tmp/tmpj2hbfl46/tmpchxm4osh.py", line 1, in <module> a=input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
s527090952
p02397
u621084859
1522390119
Python
Python3
py
Runtime Error
0
0
83
a=input().split() b=int(a[0]) c=int(a[1]) a.sort(b,c) if c==0: print(b[0],c[0])
Traceback (most recent call last): File "/tmp/tmppjmfv03i/tmpbl485skp.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s569744101
p02397
u621084859
1522390399
Python
Python3
py
Runtime Error
0
0
91
a=input().split() b=int(a[0]) c=int(a[1]) a.sorted(a[0],a[1]) if c==0: print(b[0],c[0])
Traceback (most recent call last): File "/tmp/tmpishpfxgn/tmp3_0txida.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s536145776
p02397
u621084859
1522390429
Python
Python3
py
Runtime Error
0
0
89
a=input().split() b=int(a[0]) c=int(a[1]) a.sorted([0],[1]) if c==0: print(b[0],c[0])
Traceback (most recent call last): File "/tmp/tmpmt6758tr/tmpqn3ye_qt.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s749042846
p02397
u621084859
1522390457
Python
Python3
py
Runtime Error
0
0
87
a=input().split() b=int(a[0]) c=int(a[1]) a.sort([0],[1]) if c==0: print(b[0],c[0])
Traceback (most recent call last): File "/tmp/tmpnrrciwe1/tmpbfxrz5jk.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s604634901
p02397
u405987720
1522855915
Python
Python
py
Runtime Error
0
0
208
while(True): temp = raw_input() temp_list = temp.split() x = int(temp_list[0]) y = int(temp_list[1]) if x == y and x == 0: break else: print(str(min([x, y]) ) + " " + str(max([x, y]) )
File "/tmp/tmpm2xtqsbg/tmptzfmgxjs.py", line 9 print(str(min([x, y]) ) + " " + str(max([x, y]) ) ^ SyntaxError: '(' was never closed
s636537897
p02397
u928088242
1522907384
Python
Python3
py
Runtime Error
0
0
109
a,b,c = map(int, input().split()) if a < b < c: result = "Yes" else: result = "No" print(result)
Traceback (most recent call last): File "/tmp/tmploeyv1b0/tmpr0pgy_v4.py", line 1, in <module> a,b,c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s244719062
p02397
u074747865
1524125403
Python
Python3
py
Runtime Error
0
0
95
li= list(map(int, input().split()) while True: li.sort() if [x,y]==[0,0] break print(*li)
File "/tmp/tmpdd69s49n/tmpi8716uxk.py", line 1 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s740294952
p02397
u074747865
1524125488
Python
Python3
py
Runtime Error
0
0
94
li= list(map(int, input().split()) while True: li.sort() if [x,y]=[0,0] break print(*li)
File "/tmp/tmpuvkb7ues/tmp5or_5z8g.py", line 1 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s497792341
p02397
u074747865
1524125627
Python
Python3
py
Runtime Error
0
0
92
li= list(map(int, input().split()) while True: li.sort() if li==[0,0] break print(*li)
File "/tmp/tmpa1ot79g0/tmpo32m3ii2.py", line 1 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s403049552
p02397
u074747865
1524125681
Python
Python3
py
Runtime Error
0
0
93
li= list(map(int, input().split())) while True: li.sort() if li==[0,0] break print(*li)
File "/tmp/tmpnfeqhd0b/tmpsdfcs8u5.py", line 4 if li==[0,0] ^ SyntaxError: expected ':'
s009593544
p02397
u074747865
1524125736
Python
Python3
py
Runtime Error
0
0
96
while True: li= list(map(int, input().split()) li.sort() if [x,y]==[0,0] break print(*li)
File "/tmp/tmp61j7fblv/tmpce_nbicj.py", line 2 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s984812634
p02397
u074747865
1524125771
Python
Python3
py
Runtime Error
0
0
93
while True: li= list(map(int, input().split()) li.sort() if li==[0,0] break print(*li)
File "/tmp/tmpku4ebjk6/tmprcltvhed.py", line 2 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s085352280
p02397
u074747865
1524125786
Python
Python3
py
Runtime Error
0
0
93
while True: li= list(map(int, input().split()) li.sort() if li =[0,0] break print(*li)
File "/tmp/tmp0q9t3ox4/tmp3rxfgpgz.py", line 2 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s150016346
p02397
u074747865
1524125797
Python
Python3
py
Runtime Error
0
0
94
while True: li= list(map(int, input().split()) li.sort() if li =[0,0]: break print(*li)
File "/tmp/tmpdwetjd2n/tmp74_w9eo6.py", line 2 li= list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s903031614
p02397
u074747865
1524125834
Python
Python3
py
Runtime Error
0
0
95
while True: li= list(map(int, input().split())) li.sort() if li =[0,0]: break print(*li)
File "/tmp/tmpmbcazd3g/tmpzgdy6nyb.py", line 4 if li =[0,0]: ^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s713430439
p02397
u074747865
1524126105
Python
Python3
py
Runtime Error
0
0
77
while True: a=sorted(map(int,input().split())) if a==0: break print(*a)
Traceback (most recent call last): File "/tmp/tmp27ryxuj5/tmpnbm4fm98.py", line 2, in <module> a=sorted(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s211089015
p02397
u074747865
1524126203
Python
Python3
py
Runtime Error
0
0
91
while True: x,y=sorted(map(int,input().split())) if (x==0) and(y==0): break print(*a)
Traceback (most recent call last): File "/tmp/tmpn8l4hs08/tmph1tw9xxr.py", line 2, in <module> x,y=sorted(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s828306360
p02397
u648117624
1524296704
Python
Python3
py
Runtime Error
0
0
142
x,y = map(int, input().split()) while True: if x == 0 and y == 0 : break list = [x, y] print(sort(list, reverse=True))
Traceback (most recent call last): File "/tmp/tmpif4kd8gi/tmpy5te4r1g.py", line 1, in <module> x,y = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s381266262
p02397
u648117624
1524297255
Python
Python3
py
Runtime Error
0
0
122
x,y = map(int, input().split()) list = [x, y] if x == 0 and y == 0: break print(sorted(list, reverse=True))
File "/tmp/tmpthw8xq61/tmpi0hd49cu.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop
s851922480
p02397
u648117624
1524297571
Python
Python3
py
Runtime Error
0
0
190
x,y = map(int, input().split()) while True: if x == 0 and y == 0: break elif x >= y: print(srt(x) + " " + str(y)) else: print(srt(y) + " " + str(x))
Traceback (most recent call last): File "/tmp/tmp5cic3c2o/tmpy162mldl.py", line 1, in <module> x,y = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s718088145
p02397
u648117624
1524297578
Python
Python3
py
Runtime Error
0
0
190
x,y = map(int, input().split()) while True: if x == 0 and y == 0: break elif x => y: print(srt(x) + " " + str(y)) else: print(srt(y) + " " + str(x))
File "/tmp/tmpous5jsma/tmpz7sjsatt.py", line 8 elif x => y: ^ SyntaxError: invalid syntax
s194785331
p02397
u648117624
1524297600
Python
Python3
py
Runtime Error
0
0
190
x,y = map(int, input().split()) while True: if x == 0 and y == 0: break elif x => y: print(str(x) + " " + str(y)) else: print(str(y) + " " + str(x))
File "/tmp/tmpu965j_mb/tmpsav68m87.py", line 8 elif x => y: ^ SyntaxError: invalid syntax
s785507405
p02397
u648117624
1524297815
Python
Python3
py
Runtime Error
0
0
204
for i in range(3001): x,y = map(int, input().split()) if x == 0 and y == 0: break elif x => y: print(str(x) + " " + str(y)) else: print(str(y) + " " + str(x))
File "/tmp/tmp9__l_jyk/tmppvzgscpq.py", line 8 elif x => y: ^ SyntaxError: invalid syntax
s355181814
p02397
u648117624
1524297868
Python
Python3
py
Runtime Error
0
0
194
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break; elif x => y: print(str(x) + " " + str(y)) else: print(str(y) + " " + str(x))
File "/tmp/tmp2wfhqxom/tmpsskv7_wy.py", line 7 elif x => y: ^ SyntaxError: invalid syntax
s058018193
p02397
u485986915
1524300689
Python
Python3
py
Runtime Error
0
0
121
x = list(map(int,input().split) while x[1] != 0 and x[2] != 0: print(x[1] x[2]) x = list(map(int, input().split)
File "/tmp/tmpmdmksoxd/tmp3svsqg5c.py", line 2 while x[1] != 0 and x[2] != 0: ^^^^^ SyntaxError: invalid syntax
s077119152
p02397
u485986915
1524300735
Python
Python3
py
Runtime Error
0
0
124
x = list(map(int,input().split())) while x[1] != 0 and x[2] != 0: print(x[1] x[2]) x = list(map(int, input().split)
File "/tmp/tmp76pbvv7u/tmp_0clnj_i.py", line 3 print(x[1] x[2]) ^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s819554688
p02397
u485986915
1524300841
Python
Python3
py
Runtime Error
0
0
138
x = list(map(int,input().split())) while x[1] != 0 and x[2] != 0: x.sort() print(x[1],x[2]) x = list(map(int, input().split)
File "/tmp/tmp0qiw2hw_/tmplhfj1vcc.py", line 6 x = list(map(int, input().split) ^ SyntaxError: '(' was never closed
s022196550
p02397
u485986915
1524300874
Python
Python3
py
Runtime Error
0
0
141
x = list(map(int,input().split())) while x[1] != 0 and x[2] != 0: x.sort() print(x[1],x[2]) x = list(map(int, input().split()))
Traceback (most recent call last): File "/tmp/tmp3mlosv3w/tmpbd46sthj.py", line 1, in <module> x = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s325478754
p02397
u485986915
1524301138
Python
Python3
py
Runtime Error
0
0
155
x,y = map(int,input().split()) z =[x,y] while z[1] != 0 or z[2] != 0: z.sort() print(z[1],z[2]) x,y = map(int, input().split()) z = [x, y]
Traceback (most recent call last): File "/tmp/tmptfdkl124/tmpaoa8fffw.py", line 1, in <module> x,y = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s197545770
p02397
u485986915
1524301258
Python
Python3
py
Runtime Error
0
0
121
while x != 0 or y != 0: x, y = sorted(map(int, input().split())) print(x, y) x,y = map(int, input().split())
Traceback (most recent call last): File "/tmp/tmp8ul7babz/tmpnvmsjnlg.py", line 1, in <module> while x != 0 or y != 0: ^ NameError: name 'x' is not defined
s674429391
p02397
u485986915
1524301301
Python
Python3
py
Runtime Error
0
0
129
while x != 0 or y != 0: x, y = sorted(map(int, input().split())) print(x, y) x,y = sorted(map(int, input().split()))
Traceback (most recent call last): File "/tmp/tmp94q6_4ve/tmplowtmcx1.py", line 1, in <module> while x != 0 or y != 0: ^ NameError: name 'x' is not defined
s335057239
p02397
u485986915
1524301357
Python
Python3
py
Runtime Error
0
0
133
while True: x, y = sorted(map(int, input().split())) if x==y==0: print(x, y) x,y = sorted(map(int, input().split()))
File "/tmp/tmpg07fivcl/tmpfiby26cr.py", line 4 print(x, y) ^ IndentationError: expected an indented block after 'if' statement on line 3
s453313458
p02397
u485986915
1524301388
Python
Python3
py
Runtime Error
0
0
139
while True: x, y = sorted(map(int, input().split())) if x==y and y==0: print(x, y) x,y = sorted(map(int, input().split()))
File "/tmp/tmpubm1rm2t/tmpa36ao518.py", line 4 print(x, y) ^ IndentationError: expected an indented block after 'if' statement on line 3
s160537975
p02397
u729486845
1524662233
Python
Python3
py
Runtime Error
0
0
175
while true: ary = list(map(int, input().split())) if ary[0]+ary[1] == 0 : break ary.sort() print("{} {}".format(ary[0], ary[1]))
Traceback (most recent call last): File "/tmp/tmpt_ov3os9/tmpdgx53iuo.py", line 1, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s644658136
p02397
u729486845
1524663505
Python
Python3
py
Runtime Error
0
0
157
while true: ary = list(map(int, input().split())) if ary[0]+ary[1] == 0 : break ary.sort() print(ary[0], ary[1])
Traceback (most recent call last): File "/tmp/tmpc7jpzjax/tmpdnpextjd.py", line 1, in <module> while true: ^^^^ NameError: name 'true' is not defined. Did you mean: 'True'?
s260808845
p02397
u876060624
1524744312
Python
Python3
py
Runtime Error
0
0
77
while True: a,b=sort(map(int(input()))) break if a==0 and b==0 print(a,b)
File "/tmp/tmp90xjlxjt/tmp16h2hyy4.py", line 3 break if a==0 and b==0 ^^ SyntaxError: invalid syntax
s480440480
p02397
u876060624
1524744331
Python
Python3
py
Runtime Error
0
0
85
while True: a,b=sort(map(int(input().split()))) break if a==0 and b==0 print(a,b)
File "/tmp/tmpw251_b8w/tmpj69sxzjt.py", line 3 break if a==0 and b==0 ^^ SyntaxError: invalid syntax
s296682405
p02397
u876060624
1524744363
Python
Python3
py
Runtime Error
0
0
91
while True: a,b=sort(map(int(input().split()))) break if ((a==0) and (b==0)) print(a,b)
File "/tmp/tmpnwfd8ach/tmphz6avs05.py", line 3 break if ((a==0) and (b==0)) ^^ SyntaxError: invalid syntax
s781120031
p02397
u876060624
1524744394
Python
Python3
py
Runtime Error
0
0
92
while True: a,b=sort(map(int(input().split()))) if (a==0) and (b==0): break print(a,b)
Traceback (most recent call last): File "/tmp/tmp205xyx6m/tmp1xrqjlkd.py", line 2, in <module> a,b=sort(map(int(input().split()))) ^^^^ NameError: name 'sort' is not defined. Did you mean: 'sorted'?
s024261301
p02397
u876060624
1524744450
Python
Python3
py
Runtime Error
0
0
90
while True: a,b=sort(map(int,input().split())) break if ((a==0) and (b==0)) print(a,b)
File "/tmp/tmpbm1gggqw/tmpegl50y6e.py", line 3 break if ((a==0) and (b==0)) ^^ SyntaxError: invalid syntax
s199626453
p02397
u876060624
1524744543
Python
Python3
py
Runtime Error
0
0
91
while True: a,b=sort(map(int,input().split())) if (a==0) and (b==0): break print(a,b)
Traceback (most recent call last): File "/tmp/tmp759mal7i/tmp6ovbg603.py", line 2, in <module> a,b=sort(map(int,input().split())) ^^^^ NameError: name 'sort' is not defined. Did you mean: 'sorted'?
s132058117
p02397
u908651435
1524748023
Python
Python3
py
Runtime Error
0
0
124
x=[] while True: x=input().split() x.sort() a,b=map(int,x) print(a,b) if a==None,b==None: break
File "/tmp/tmp1nwcagke/tmp3k5bvx6c.py", line 7 if a==None,b==None: ^ SyntaxError: invalid syntax
s368329627
p02397
u781194524
1524814533
Python
Python3
py
Runtime Error
0
0
104
while True: x,y=sorted([int(x) for x in input().split]) if x==0 and y==0: break print(x,y)
Traceback (most recent call last): File "/tmp/tmpcr_u3ysg/tmpncd_55p2.py", line 2, in <module> x,y=sorted([int(x) for x in input().split]) ^^^^^^^ EOFError: EOF when reading a line
s140073280
p02397
u781194524
1525146157
Python
Python
py
Runtime Error
0
0
97
while True: a,b=sorted([int(x) for x in input().split]) if a==0 and b == 0 : break print(a,b)
Traceback (most recent call last): File "/tmp/tmpph61ungb/tmpweni0xwd.py", line 2, in <module> a,b=sorted([int(x) for x in input().split]) ^^^^^^^ EOFError: EOF when reading a line
s118701965
p02397
u781194524
1525146164
Python
Python3
py
Runtime Error
0
0
97
while True: a,b=sorted([int(x) for x in input().split]) if a==0 and b == 0 : break print(a,b)
Traceback (most recent call last): File "/tmp/tmpbv__5r66/tmpnqh8solt.py", line 2, in <module> a,b=sorted([int(x) for x in input().split]) ^^^^^^^ EOFError: EOF when reading a line
s226261977
p02397
u532590372
1525608181
Python
Python3
py
Runtime Error
0
0
120
num = input().split(' ') x = num[0] y = num[1] if x > y: tmp = x x = y y = tmp else: break print(x + ' ' +y)
File "/tmp/tmpyggqv2n1/tmpzxxhaafp.py", line 11 break ^^^^^ SyntaxError: 'break' outside loop
s260635284
p02397
u532590372
1525608313
Python
Python3
py
Runtime Error
0
0
146
num = input().split(' ') x = num[0] y = num[1] if x > y: tmp = x x = y y = tmp elif x = y = 0: exit() else: break print(x + ' ' +y)
File "/tmp/tmpuk6tqcnk/tmp7k4le4ux.py", line 10 elif x = y = 0: ^ SyntaxError: invalid syntax
s444961848
p02397
u007066325
1527455134
Python
Python3
py
Runtime Error
0
0
166
while True: a,b = map(int, input().split() if a ==0 and b == 0: break if a > b: c = a a = b b = c print("{} {}".format(a,b))
File "/tmp/tmphixaeuyw/tmptlugzn37.py", line 2 a,b = map(int, input().split() ^ SyntaxError: '(' was never closed
s961141405
p02397
u007066325
1527455263
Python
Python3
py
Runtime Error
0
0
173
while True: a,b = map(int, input().split() if a ==0 and b == 0: break if a > b: c = a a = b b = c print("{} {}".format(a,b))
File "/tmp/tmplhyz9z3l/tmpnf039s6d.py", line 2 a,b = map(int, input().split() ^ SyntaxError: '(' was never closed
s598864499
p02397
u007066325
1527455481
Python
Python3
py
Runtime Error
0
0
185
while True: a,b = map(int, input().split()) if (a,b) == (0,0) : break elif a > b: c = a a = b b = c else: print("{} {}".format(a,b))
File "/tmp/tmpqk3vmoqq/tmp2e12zs49.py", line 10 print("{} {}".format(a,b)) ^ IndentationError: expected an indented block after 'else' statement on line 9
s294953751
p02397
u500257793
1527507742
Python
Python3
py
Runtime Error
0
0
301
import java.util.Scanner; class Main { public static void main(String args[]) { int a,b; Scanner sc = new Scanner(System.in); while(True){ a=sc.nextInt(); b=sc.nestInt(); if(a==0 && b==0) break; else if(a<b) System.out.println(a +b); else System.out.println(b +a);} } }
File "/tmp/tmpyyhorcdo/tmpzrjvqfrg.py", line 2 class Main ^ SyntaxError: expected ':'
s320644626
p02397
u500257793
1527507786
Python
Python3
py
Runtime Error
0
0
307
import java.util.Scanner; class Main { public static void main(String args[]) { int a,b; Scanner sc = new Scanner(System.in); while(True){ a=sc.nextInt(); b=sc.nestInt(); if(a==0 && b==0) break; else if(a<b) System.out.println(a+" "+b); else System.out.println(b+" "+a);} } }
File "/tmp/tmpuqf3rxiw/tmpbyr_vunk.py", line 2 class Main ^ SyntaxError: expected ':'
s169009951
p02397
u138224929
1528628724
Python
Python3
py
Runtime Error
0
0
335
#include <iostream> #include <sstream> #include <math.h> #include <algorithm> using namespace std; int main(){ while (1){ int i, j ; cin >> i >> j ; if ( i <= j) { cout << i << " " << j << endl; } else{ cout << j << " " << i << endl; } } ...
File "/tmp/tmp7m2o7hru/tmp5xz5mm3r.py", line 5 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s933631465
p02397
u646500971
1529835817
Python
Python3
py
Runtime Error
0
0
41
x,y = int(input()) x,y.sort() print(x,y)
Traceback (most recent call last): File "/tmp/tmplwohhn6u/tmp89ny_gw1.py", line 1, in <module> x,y = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s532428170
p02397
u987236471
1530540366
Python
Python3
py
Runtime Error
0
0
143
import sys for line in sys.stdin:     xy = sorted(map(int , line.split()))     if xy[0] == 0 and xy[1] == 0: break     print(*xy)
File "/tmp/tmpv1sujpsu/tmpn57fa9v_.py", line 3     xy = sorted(map(int , line.split())) ^ SyntaxError: invalid non-printable character U+00A0
s620937594
p02397
u987236471
1530540377
Python
Python3
py
Runtime Error
0
0
142
import sys for line in sys.stdin:     xy = sorted(map(int , line.split()))     if xy[0] == 0 and xy[1] == 0: break     print(*xy)
File "/tmp/tmp7557pzbh/tmpu85ootz3.py", line 3     xy = sorted(map(int , line.split())) ^ SyntaxError: invalid non-printable character U+00A0
s586631016
p02397
u987236471
1530540892
Python
Python3
py
Runtime Error
0
0
100
x,y = map(int, input().split()) if x==0 and y==0: break if x < y: print(x,y) else: print(y,x)
File "/tmp/tmpsl0deabg/tmpydlvmbjq.py", line 3 break ^^^^^ SyntaxError: 'break' outside loop
s713787614
p02397
u987236471
1530540930
Python
Python3
py
Runtime Error
0
0
101
x,y = map(int, input().split()) if x==0 and y==0: break if x <= y: print(x,y) else: print(y,x)
File "/tmp/tmpa6ijq13i/tmp2ryr59yu.py", line 3 break ^^^^^ SyntaxError: 'break' outside loop
s235150666
p02397
u904989881
1391653856
Python
Python
py
Runtime Error
0
0
107
while True: a = map(str, raw_input().split()) if a[0] != 0: print sorted(a) else: break
File "/tmp/tmpcjzkxlpl/tmposle175t.py", line 4 print sorted(a) ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s477930901
p02397
u904989881
1391654288
Python
Python
py
Runtime Error
0
0
118
while 1: a, b = sorted(map(int, raw_input().split())) if a + b = 0: break else: print a, b
File "/tmp/tmp6pqwvp8r/tmp25dh8fyn.py", line 3 if a + b = 0: ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s263733377
p02397
u633068244
1393317703
Python
Python
py
Runtime Error
0
0
237
from __future__ import division, print_function from sys import stdin for line in stdin: a,b = map(int, raw_input().split()) if (a == 0 and b == 0): break if a > b: print b, a else: print a, b
File "/tmp/tmps3bq0vyu/tmpj8srgdza.py", line 11 print b, a ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s280527477
p02397
u633068244
1393317800
Python
Python
py
Runtime Error
0
0
224
from __future__ import division, print_function from sys import stdin for line in stdin: a,b = map(int, line.split()) if (a == 0 and b == 0): break if a > b: print b, a else: print a, b
File "/tmp/tmph0i1vnl8/tmpvs8argu8.py", line 9 print b, a ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s879826432
p02398
u075006557
1540455972
Python
Python3
py
Runtime Error
0
0
120
a, b, c = map(int, input().split())) cnt = 0 for i in range(a, b+1, 1): if(c % i == 0): cnt += 1 print(cnt)
File "/tmp/tmp9glfp8dv/tmpg6aeeqok.py", line 1 a, b, c = map(int, input().split())) ^ SyntaxError: unmatched ')'
s616500748
p02398
u893058769
1540456735
Python
Python3
py
Runtime Error
0
0
109
counter=0 a,b,c=map(int,input().split()) for i in range(a,b): if(c%i==0) counter+=1 print(f"{counter}")
File "/tmp/tmpnamahboa/tmphb7is9tr.py", line 4 if(c%i==0) counter+=1 ^^^^^^^ SyntaxError: invalid syntax
s895826227
p02398
u893058769
1540456812
Python
Python3
py
Runtime Error
0
0
110
counter=0 a,b,c=map(int,input().split()) for i in range(a,b): if(c//i==0) counter+=1 print(f"{counter}")
File "/tmp/tmplzl14zyw/tmpylfxqbw8.py", line 4 if(c//i==0) counter+=1 ^^^^^^^ SyntaxError: invalid syntax
s480178563
p02398
u893058769
1540456853
Python
Python3
py
Runtime Error
0
0
117
counter=0 a,b,c=map(int,input().split()) for i in range(a,b): if(c//i==0) counter=counter+1 print(f"{counter}")
File "/tmp/tmpb_8q9wok/tmpy126p4rd.py", line 4 if(c//i==0) counter=counter+1 ^^^^^^^ SyntaxError: invalid syntax
s112138780
p02398
u893058769
1540456899
Python
Python3
py
Runtime Error
0
0
116
counter=0 a,b,c=map(int,input().split()) for i in range(a,b): if(c%i==0) counter=counter+1 print(f"{counter}")
File "/tmp/tmpvlo86fe4/tmpo9a96vhn.py", line 4 if(c%i==0) counter=counter+1 ^^^^^^^ SyntaxError: invalid syntax