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
s242805621
p02397
u050103511
1498032262
Python
Python3
py
Runtime Error
0
0
273
inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if x == "0" and y == "0": break; if int(x) < int(y): print("{0} {1}".format(x,y)) else: print("{0} {1}".format(y,x))
File "/tmp/tmp16gf7i8o/tmpxviq8q_v.py", line 1 inport sys ^^^ SyntaxError: invalid syntax
s743285280
p02397
u050103511
1498032286
Python
Python3
py
Runtime Error
0
0
269
inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if x == "0" and y == "0": break; if int(x) < int(y): print("{} {}".format(x,y)) else: print("{} {}".format(y,x))
File "/tmp/tmp506wq1oo/tmpc9d4rqmi.py", line 1 inport sys ^^^ SyntaxError: invalid syntax
s979922101
p02397
u050103511
1498032347
Python
Python3
py
Runtime Error
0
0
274
1inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if a == "0" and b == "0": break; if int(a) < int(b): print("{0} {1}".format(a,b)) else: print("{1} {0}".format(a,b))
/tmp/tmpukuctbul/tmptwgjzvjc.py:1: SyntaxWarning: invalid decimal literal 1inport sys File "/tmp/tmpukuctbul/tmptwgjzvjc.py", line 1 1inport sys ^^^^^^ SyntaxError: invalid syntax
s015548872
p02397
u050103511
1498032384
Python
Python3
py
Runtime Error
0
0
270
1inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if a == "0" and b == "0": break; if int(a) < int(b): print("{} {}".format(a,b)) else: print("{} {}".format(b,a))
/tmp/tmpxv6r4us4/tmpef641aq2.py:1: SyntaxWarning: invalid decimal literal 1inport sys File "/tmp/tmpxv6r4us4/tmpef641aq2.py", line 1 1inport sys ^^^^^^ SyntaxError: invalid syntax
s413084228
p02397
u050103511
1498032430
Python
Python3
py
Runtime Error
0
0
271
1inport sys for i in sys.stdin.readlines(): a, b = i.strip().split() if a == "0" and b == "0": break; if int(a) < int(b): print("{} {}".format(a,b)) else: print("{} {}".format(b,a))
/tmp/tmpuo_dglvh/tmpmq5dgjlq.py:1: SyntaxWarning: invalid decimal literal 1inport sys File "/tmp/tmpuo_dglvh/tmpmq5dgjlq.py", line 1 1inport sys ^^^^^^ SyntaxError: invalid syntax
s168073120
p02397
u580737984
1498033039
Python
Python3
py
Runtime Error
0
0
305
i = j = x = y = 0 while i = 0: line = input() while line[j] != ' ': x += line[j] j += 1 while j < len(line): y += line[j] j += 1 x = int(x) y = int(y) if x == 0 and y == 0: break if x >= y: print(y,end=' ') print(x) else: print(x,end=' ') print(y)
File "/tmp/tmp23v4xtn4/tmpopx5imsw.py", line 3 while i = 0: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s728841554
p02397
u580737984
1498033226
Python
Python3
py
Runtime Error
0
0
312
i = j = x = y = 0 while i >= 0: line = input() while line[j] != ' ': x = x + line[j] j += 1 while j < len(line): y = y + line[j] j += 1 x = int(x) y = int(y) if x == 0 and y == 0: break if x >= y: print(y,end=' ') print(x) else: print(x,end=' ') print(y)
Traceback (most recent call last): File "/tmp/tmp8we0pd77/tmp0tbmeyy7.py", line 4, in <module> line = input() ^^^^^^^ EOFError: EOF when reading a line
s070592110
p02397
u569585396
1498096110
Python
Python3
py
Runtime Error
0
0
158
while True: num = int(input()).split() li = list(map(int,num)) if li[0] and li[1] == 0: break li.sort() print('{} {}'.format(li[0],li[1]))
Traceback (most recent call last): File "/tmp/tmpk_4pk_wz/tmp69yq08ch.py", line 2, in <module> num = int(input()).split() ^^^^^^^ EOFError: EOF when reading a line
s604673840
p02397
u569585396
1498097114
Python
Python3
py
Runtime Error
0
0
210
import sys for i in sys.stdin: i = i.split(" ") x, y = int(i[0]),int(i[1]) if x == y == 0: break elif x <= y: print('{0} {1}'.format(x, y)) else: pritn('{0} {1}').format(y, x)
s265708936
p02397
u569585396
1498097226
Python
Python3
py
Runtime Error
0
0
217
import sys for i in sys.stdin: i = i.split(" ") x, y = int(i[0]),int(i[1]) if x == y == 0: break elif x <= y: print('{0} {1}'.format(x, y)) else: pritn('{0} {1}').format(y, x)
s002505735
p02397
u569585396
1498097441
Python
Python3
py
Runtime Error
0
0
211
import sys for i in sys.stdin: i = i.split(" ") x, y = int(i[0]), int(i[1]) if x == y == 0: break elif x <= y: print('{0} {1}'.format(x, y)) else: pritn('{0} {1}'.format(y, x))
s429185170
p02397
u569585396
1498097617
Python
Python3
py
Runtime Error
0
0
218
import sys for i in sys.stdin: i = i.split(" ") x, y = int(i[0]), int(i[1]) if x == y == 0: break elif x <= y: print("{0} {1}".format(x, y)) else: pritn("{0} {1}".format(y, x))
s994153388
p02397
u692161606
1498318353
Python
Python3
py
Runtime Error
0
0
104
x, y = map(int, input().split()) x, y >= 1 and x, y <= 3000 x, y.sort print "{0} {1}".format(x[0], y[1])
File "/tmp/tmpfea2thda/tmpi8vw57ka.py", line 4 print "{0} {1}".format(x[0], y[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s446805896
p02397
u692161606
1498318592
Python
Python3
py
Runtime Error
0
0
104
x, y = map(int, input().split()) x, y >= 1 and x, y <= 3000 x, y.sort print "{0} {1}".format(x[0], y[1])
File "/tmp/tmplwk1kb4y/tmpw41pbw9m.py", line 4 print "{0} {1}".format(x[0], y[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s149683202
p02397
u169794024
1498613710
Python
Python3
py
Runtime Error
0
0
71
x,y=map(int,input().split()) if x==0 and y==0: brake print(sort(x,y))
Traceback (most recent call last): File "/tmp/tmpup2sjl8z/tmpsttl3ukb.py", line 1, in <module> x,y=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s555577190
p02397
u169794024
1498613801
Python
Python3
py
Runtime Error
0
0
85
x,y=map(int,input().split()) if x==0 and y==0: brake i = (x,y) i=i,sort() print(i)
Traceback (most recent call last): File "/tmp/tmpqmn6rdka/tmpu7ypbpdd.py", line 1, in <module> x,y=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s669372678
p02397
u169794024
1498614114
Python
Python3
py
Runtime Error
0
0
71
x,y=map(int,input().split()) if x==0 and y==0: brake print(sort(x,y))
Traceback (most recent call last): File "/tmp/tmpymoap_r0/tmp87tysvc0.py", line 1, in <module> x,y=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s289653085
p02397
u169794024
1498716388
Python
Python3
py
Runtime Error
0
0
54
x,y=map(int,input().split()) print(min(x,y) max(x,y))
File "/tmp/tmp7d4wdv_1/tmpp_g57l70.py", line 3 print(min(x,y) max(x,y)) ^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s380826879
p02397
u169794024
1498716590
Python
Python3
py
Runtime Error
0
0
70
[x,y]=[for int(input().split())) in range()] print(min(x,y),max(x,y))
File "/tmp/tmp4xgmlm7k/tmpb3gd9ala.py", line 1 [x,y]=[for int(input().split())) in range()] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s444663936
p02397
u818923713
1498718801
Python
Python3
py
Runtime Error
0
0
129
while True: x, y = map(int, input().split) if x == 0 and y == 0: brake if x <= y: print(x, y) if x >= y: print(y, x)
Traceback (most recent call last): File "/tmp/tmpvhxv6fnl/tmpd18tg5ri.py", line 2, in <module> x, y = map(int, input().split) ^^^^^^^ EOFError: EOF when reading a line
s901639125
p02397
u818923713
1498718839
Python
Python3
py
Runtime Error
0
0
133
while True: x, y = map(int, input().split) if x == 0 and y == 0: brake elif x <= y: print(x, y) elif x >= y: print(y, x)
Traceback (most recent call last): File "/tmp/tmp6hcaaboy/tmp8n_1o1y5.py", line 2, in <module> x, y = map(int, input().split) ^^^^^^^ EOFError: EOF when reading a line
s084958349
p02397
u818923713
1498718922
Python
Python3
py
Runtime Error
0
0
123
while True: x, y = map(int, input().split) if x == 0 and y == 0: brake if x <= y: print(x, y) else: print(y, x)
Traceback (most recent call last): File "/tmp/tmp8ggfya61/tmp24o1jmz4.py", line 2, in <module> x, y = map(int, input().split) ^^^^^^^ EOFError: EOF when reading a line
s841192294
p02397
u299798926
1498800441
Python
Python3
py
Runtime Error
0
0
202
for i in range(3000): x,y=[int(s) for s in input().split()] if x>y: print("{0} {1}".format(y,x)) elif x<=y: print("{0} {1}".format(x,y)) elif x==0 and y==0: break
Traceback (most recent call last): File "/tmp/tmpy3mquq9z/tmpaxnmbc_i.py", line 2, in <module> x,y=[int(s) for s in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s566250472
p02397
u169794024
1498836315
Python
Python3
py
Runtime Error
0
0
74
while True: x,y=int,input().split() if [x,y]==[0,0]: break print(x,y)
Traceback (most recent call last): File "/tmp/tmpefl8wg0t/tmpyyv9uv20.py", line 2, in <module> x,y=int,input().split() ^^^^^^^ EOFError: EOF when reading a line
s234016664
p02397
u169794024
1498836399
Python
Python3
py
Runtime Error
0
0
95
while True: x,y=sorted [int(x) for X in input().split()] if (x,y)==(0,0): break print(x,y)
File "/tmp/tmpwv5nrxha/tmpl_f_b251.py", line 2 x,y=sorted [int(x) for X in input().split()] ^^^ SyntaxError: invalid syntax
s091303362
p02397
u169794024
1498836437
Python
Python3
py
Runtime Error
0
0
95
while True: x,y=sorted [int(x) for x in input().split()] if (x,y)==(0,0): break print(x,y)
File "/tmp/tmpkehac08e/tmpczxs32hb.py", line 2 x,y=sorted [int(x) for x in input().split()] ^^^ SyntaxError: invalid syntax
s031309135
p02397
u029473859
1498907165
Python
Python3
py
Runtime Error
0
0
104
while True: i = input() if i == "0 0": break else: i.sort() print(i)
Traceback (most recent call last): File "/tmp/tmp0bwddhf5/tmpmzz9j3uk.py", line 2, in <module> i = input() ^^^^^^^ EOFError: EOF when reading a line
s404102923
p02397
u248424983
1499838258
Python
Python3
py
Runtime Error
0
0
117
import sys for x in sys.stdin: if ((x[0]==0) and (x[1]==0)): break x.sort() print(x[0] + " " + x[1])
s470493923
p02397
u248424983
1499838413
Python
Python3
py
Runtime Error
0
0
116
import sys for x in sys.stdin: x.sort() if ((x[0]=='0') and (x[1]=='0')): break print(x[0] + " " + x[1])
s488558462
p02397
u248424983
1499912843
Python
Python3
py
Runtime Error
0
0
145
import sys for i in sys.stdin.readline(): x = i.split() x.sort() if ((x[0]=='0') and (x[1]=='0')): break print(x[0] + " " + x[1])
s378601664
p02397
u043639882
1500018019
Python
Python3
py
Runtime Error
0
0
211
import sys count = 1 while True: x,y = sys.stdin.readline().split.strip() if x == 0 and y == 0: break if x < y: result = (x,y) else: result = (y,x) print(result) count = count + 1
Traceback (most recent call last): File "/tmp/tmpl70nzpaz/tmpged5v_p2.py", line 4, in <module> x,y = sys.stdin.readline().split.strip() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'strip'
s621506100
p02397
u043639882
1500018064
Python
Python3
py
Runtime Error
0
0
213
import sys count = 1 while True: x,y = sys.stdin.readline().split().strip() if x == 0 and y == 0: break if x < y: result = (x,y) else: result = (y,x) print(result) count = count + 1
Traceback (most recent call last): File "/tmp/tmpr5rtcvhs/tmp2qtusksa.py", line 4, in <module> x,y = sys.stdin.readline().split().strip() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'strip'
s564822492
p02397
u043639882
1500018437
Python
Python3
py
Runtime Error
0
0
134
import sys while True: x,y = sys.stdin.readline().split() if x == 0 and y == 0: break if x > y: print(y,x) print(x,y)
Traceback (most recent call last): File "/tmp/tmpkm8exgz4/tmp2nxzm782.py", line 3, in <module> x,y = sys.stdin.readline().split() ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s039275150
p02397
u043639882
1500018666
Python
Python3
py
Runtime Error
0
0
166
import sys count = 1 while True: x,y = sys.stdin.readline().split() if x == 0 and y == 0: break if x > y: print(y,x) print(x,y) count = count + 1
Traceback (most recent call last): File "/tmp/tmpthu_0til/tmp_z0gz9i4.py", line 4, in <module> x,y = sys.stdin.readline().split() ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s476550070
p02397
u043639882
1500018719
Python
Python3
py
Runtime Error
0
0
174
import sys count = 1 while True: x,y = sys.stdin.readline().split() if x == 0 and y == 0: break if x > y: print(y,x) else: print(x,y) count = count + 1
File "/tmp/tmpvboy230w/tmp_ad_9a2x.py", line 11 print(x,y) ^ IndentationError: expected an indented block after 'else' statement on line 10
s182264635
p02397
u663910047
1500122949
Python
Python3
py
Runtime Error
0
0
216
list=[] x=1 y=1 while (len(list)-1) < 3000 or (x+y)<0: x,y = map(int,input().split()) if x > y: l= [y,x] else: l=[x,y] list.append(l) for i in range(len(list)-1): print(list[i])
Traceback (most recent call last): File "/tmp/tmppc3et5g9/tmpozak0psr.py", line 5, in <module> x,y = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s178654176
p02397
u663910047
1500123002
Python
Python3
py
Runtime Error
0
0
218
list=[] x=1 y=1 while (len(list)-1) < 3000 or (x+y)<0: x,y = map(int,input().split()) if x > y: l = [y,x] else: l = [x,y] list.append(l) for i in range(len(list)-1): print(list[i])
Traceback (most recent call last): File "/tmp/tmpxmmgm3dt/tmpdw_e6og7.py", line 5, in <module> x,y = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s356955082
p02397
u501510481
1500123208
Python
Python3
py
Runtime Error
0
0
152
import sys for line in sys.stdin; items_sorted = sorted( line.split() , reverse=True ) print( "{} {}".format( items_sorted[0],items_sorted[1]) )
File "/tmp/tmpctmy5ygy/tmpmy7bi58a.py", line 2 for line in sys.stdin; ^ SyntaxError: invalid syntax
s380217017
p02397
u043639882
1500354714
Python
Python3
py
Runtime Error
0
0
155
import sys num = sys.stdin while True: a,b = map(int,num.readline().split()) if a == 0 and b == 0: break if a < b : print(a,b) else: print(b,a)
File "/tmp/tmpzcq9sbk0/tmpn4g74re5.py", line 7 break ^ IndentationError: expected an indented block after 'if' statement on line 6
s689527426
p02397
u043639882
1500354748
Python
Python3
py
Runtime Error
0
0
153
import sys num = sys.stdin while True: a,b = map(int,num.readline().split()) if a == 0 and b == 0: break if a < b :print(a,b) else:print(b,a)
File "/tmp/tmpl2qp_1ar/tmp884iwxvh.py", line 7 break ^ IndentationError: expected an indented block after 'if' statement on line 6
s297449957
p02397
u043639882
1500354824
Python
Python3
py
Runtime Error
0
0
159
import sys num = sys.stdin while True: a,b = map(int,num.readline().split()) if (a == 0) and (b == 0): break if a < b :print(a,b) else:print(b,a)
File "/tmp/tmpbxhaf8ov/tmp0lsvlyf8.py", line 6 break ^ IndentationError: expected an indented block after 'if' statement on line 5
s358936226
p02397
u043639882
1500354865
Python
Python3
py
Runtime Error
0
0
157
import sys ff = sys.stdin while True: a,b = map(int,ff.readline().split()) if (a == 0) and (b == 0): break if a < b :print(a,b) else:print(b,a)
File "/tmp/tmps2kfgoat/tmpobeflrsa.py", line 6 break ^ IndentationError: expected an indented block after 'if' statement on line 5
s982043294
p02397
u043639882
1500355117
Python
Python3
py
Runtime Error
0
0
174
import sys while True : a, b = map(int, sys.stdin.readline().split()) if (a == 0) & (b == 0) : break if a < b : print(a, b) else : print(b, a)
File "/tmp/tmpr01jn_1_/tmpsf3_q5_t.py", line 6 if a < b : print(a, b) ^ IndentationError: unindent does not match any outer indentation level
s384629249
p02397
u043639882
1500355790
Python
Python3
py
Runtime Error
0
0
142
import sys while True: a,b=map(int,stdin.readline().split()) if a==0 and b==0: break if a<b:print(a,b) else:print(b,a)
Traceback (most recent call last): File "/tmp/tmpi1oye7g2/tmpmczowkp9.py", line 3, in <module> a,b=map(int,stdin.readline().split()) ^^^^^ NameError: name 'stdin' is not defined
s401396381
p02397
u350064373
1500467364
Python
Python3
py
Runtime Error
0
0
265
list1=[] while True: x = str(input("")) if x == "0": break else: list1.append(x) for i,v in enumerate(list1): x,y = map(int,v.split()) if x < y: print(str(x) + " " + str(y)) else: print(str(y) + " " + str(x))
Traceback (most recent call last): File "/tmp/tmp239nb8er/tmp0921yqnw.py", line 3, in <module> x = str(input("")) ^^^^^^^^^ EOFError: EOF when reading a line
s922973535
p02397
u283452598
1503042416
Python
Python3
py
Runtime Error
0
0
158
while True: x=input().split() if x == "0 0": break x=list(map(int,x)) x= sorted(x) a,b=x[0], x[1] print("{0} {1}".format(a,b))
Traceback (most recent call last): File "/tmp/tmpv4ry8ytf/tmp1zdtdzvj.py", line 2, in <module> x=input().split() ^^^^^^^ EOFError: EOF when reading a line
s010441586
p02397
u316697096
1503143527
Python
Python
py
Runtime Error
0
0
93
i=1 while 1 x,y = map(int,input().split()) n=[x,y] n.sort() print n i=i+1
File "/tmp/tmp0hw_dmyb/tmpzgh7tkxy.py", line 2 while 1 ^ SyntaxError: expected ':'
s119540873
p02397
u316697096
1503143907
Python
Python
py
Runtime Error
0
0
128
i=0 while 1 x,y = map(int,input().split()) if x==0 or y==0; break n=[x,y] n.sort() print n i+=1
File "/tmp/tmpwgcysquq/tmpmxbb2q47.py", line 2 while 1 ^ SyntaxError: expected ':'
s394451895
p02397
u316697096
1503144108
Python
Python
py
Runtime Error
0
0
134
i = 0 while 1: x,y = map(int,input().split()) i += 1 if x == 0 or y==0: break n=[x,y] n.sort() print n
File "/tmp/tmpganbz320/tmpqy4_k6mv.py", line 9 print n ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s371303188
p02397
u316697096
1503144403
Python
Python
py
Runtime Error
0
0
122
while 1: x,y = map(int,input().split()) n=[x,y] if a[0]==0 and a[1]==0: break else: n.sort() print n
File "/tmp/tmplsh9d7j0/tmp3zcfm0ve.py", line 8 print n ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s632700575
p02397
u316697096
1503144483
Python
Python
py
Runtime Error
0
0
118
while 1: x,y = map(int,input().split()) if x==0 and y==0: break else: n=[x,y] n.sort() print n
File "/tmp/tmplduvrsb_/tmpycgs5_cw.py", line 8 print n ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s719252249
p02397
u316697096
1503144516
Python
Python
py
Runtime Error
0
0
126
while 1: x,y = map(int,input().split()) if x==0 and y==0: break else: n=[x,y] n.sort() print n[0],n[1]
File "/tmp/tmpisvwpzmg/tmpsccvkarv.py", line 8 print n[0],n[1] ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s896100695
p02397
u316697096
1503144533
Python
Python
py
Runtime Error
0
0
130
while 1: x,y = map(int,row_input().split()) if x==0 and y==0: break else: n=[x,y] n.sort() print n[0],n[1]
File "/tmp/tmp1bmnef_k/tmpl9_zysy7.py", line 8 print n[0],n[1] ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s477987320
p02397
u450020188
1503545944
Python
Python3
py
Runtime Error
0
0
219
import sys x = [int(i) for i in sys.stdin.readlines()] for i, p in iteritems(x): if i == 0 and p == 0: break elif i < p: print(i p) elif i> p: print(p i) else: print(i p)
File "/tmp/tmpexqadd09/tmpifhsc56v.py", line 8 print(i p) ^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s512765372
p02397
u450020188
1503547015
Python
Python3
py
Runtime Error
0
0
231
import sys x = [int(i) for i in sys.stdin.readlines()] for t in x: i = t[0] p = t[1] if i == 0 and p == 0: break elif i < p: print(i p) elif i> p: print(p i) else: print(i p)
File "/tmp/tmp1m9ussf2/tmpmege_lli.py", line 10 print(i p) ^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s163773936
p02397
u450020188
1503547587
Python
Python3
py
Runtime Error
0
0
165
import sys while True : a, b = map(int, sys.stdin.readline()) if (a == 0) & (b == 0) : break if a < b : print(a, b) else : print(b, a)
Traceback (most recent call last): File "/tmp/tmpokmct3v0/tmppd4qf6tg.py", line 4, in <module> a, b = map(int, sys.stdin.readline()) ^^^^ ValueError: not enough values to unpack (expected 2, got 0)
s416017109
p02397
u450020188
1503547607
Python
Python3
py
Runtime Error
0
0
173
import sys while True : a, b = map(int, sys.stdin.readline().stlip()) if (a == 0) & (b == 0) : break if a < b : print(a, b) else : print(b, a)
Traceback (most recent call last): File "/tmp/tmps2bg44ij/tmpxzq4xy7p.py", line 4, in <module> a, b = map(int, sys.stdin.readline().stlip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'stlip'. Did you mean: 'strip'?
s293295644
p02397
u450020188
1503547644
Python
Python3
py
Runtime Error
0
0
165
import sys while True : a, b = map(int, sys.stdin.readline()) if (a == 0) & (b == 0) : break if a < b : print(a, b) else : print(b, a)
Traceback (most recent call last): File "/tmp/tmpfjw2wzwz/tmp7jwordf4.py", line 4, in <module> a, b = map(int, sys.stdin.readline()) ^^^^ ValueError: not enough values to unpack (expected 2, got 0)
s874850583
p02397
u544943822
1503638518
Python
Python
py
Runtime Error
0
0
142
while True: x, y = map(int, raw_input().split()) if x>y: print('y x') elif x<y: print('x y') else x, y == '0': break
File "/tmp/tmptfyn880n/tmpc_xv302o.py", line 3 if x>y: IndentationError: unexpected indent
s137901330
p02397
u544943822
1503638908
Python
Python
py
Runtime Error
0
0
142
while True: x, y = map(int, raw_input().split()) if x>y: print('y x') elif x<y: print('x y') else x and y == '0' break
File "/tmp/tmpvfxqnm98/tmp6cnqny53.py", line 3 if x>y: IndentationError: unexpected indent
s582548820
p02397
u544943822
1503639053
Python
Python
py
Runtime Error
0
0
168
while True: x, y = map(int, raw_input().split()) if x>y: print('y x') continue elif x<y: print('x y') continue else x and y == '0' break
File "/tmp/tmpp6m7wq4g/tmpw_4yj_op.py", line 3 if x>y: IndentationError: unexpected indent
s074616383
p02397
u544943822
1503639311
Python
Python
py
Runtime Error
0
0
168
while True: x, y = map(int, raw_input().split()) if x>y: print y, x continue elif x<y: print x, y continue else x == 0 and y == 0: break
File "/tmp/tmpvzwpngaf/tmpvj39kows.py", line 3 if x>y: IndentationError: unexpected indent
s186501719
p02397
u544943822
1503639696
Python
Python
py
Runtime Error
0
0
193
while True: x, y = map(int, raw_input().split()) if x>y: print y, x elif x<y: print x, y continue elif x == 0 and y == 0: break elif x==y: print x, y continue
File "/tmp/tmpoaw3bls4/tmpztz5rggo.py", line 3 if x>y: IndentationError: unexpected indent
s316661277
p02397
u544943822
1503639952
Python
Python
py
Runtime Error
0
0
157
while True: x, y = map(int, raw_input().split()) if x == 0 and y == 0: break elif x>y: print y, x else x<=y: print x, y continue
File "/tmp/tmpmjg302aj/tmprcwlnq2e.py", line 6 print y, x ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s583110205
p02397
u544943822
1503640046
Python
Python
py
Runtime Error
0
0
146
while True: x, y = map(int, raw_input().split()) if x == 0 and y == 0: break elif x>y: print y, x else x<=y: print x, y
File "/tmp/tmpqu7bur85/tmp3cv7a7p5.py", line 6 print y, x ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s886808608
p02397
u628840297
1503640776
Python
Python
py
Runtime Error
0
0
175
while True: x, y = map(int, raw_input().split()) if x == 0 and y == 0: break elif x > y: print (x+" "+y) elif x < y or x == y: print (y+" "+x)
Traceback (most recent call last): File "/tmp/tmp6er8nvqp/tmp890acnrp.py", line 4, in <module> x, y = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s107248324
p02397
u933096856
1504905205
Python
Python3
py
Runtime Error
0
0
85
while True: a=input().split() if a==[0,0]: quit() print(*a[::-1])
Traceback (most recent call last): File "/tmp/tmpbzbz3p58/tmpybombqx_.py", line 2, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
s677013125
p02397
u362494298
1505177106
Python
Python3
py
Runtime Error
0
0
138
a = list(map(int, input().split())) for a[0] != 0 and a[1] != 0: a.sort() print(a[0] a[1]) a = list(map(int, input().split()))
File "/tmp/tmpp_tbmw4p/tmp8jnsco9f.py", line 2 for a[0] != 0 and a[1] != 0: ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: cannot assign to expression
s582687409
p02397
u362494298
1505177677
Python
Python3
py
Runtime Error
0
0
116
for True: x,y=map(int,input().split()) if x+y == 0:break else: if x>y:x,y=y,x print(x,y)
File "/tmp/tmpxzhhodhf/tmpch_ljs0g.py", line 1 for True: ^^^^ SyntaxError: cannot assign to True
s812029372
p02397
u362494298
1505177784
Python
Python3
py
Runtime Error
0
0
98
for True: x,y=map(int,input().split()) if x+y == 0:break if x>y:x,y=y,x print(x,y)
File "/tmp/tmp_3nc5fmc/tmpwxyp4rsr.py", line 1 for True: ^^^^ SyntaxError: cannot assign to True
s558774122
p02397
u506705885
1505412720
Python
Python3
py
Runtime Error
0
0
73
x=int(input()) y=int(input()) if x<y: print(x,y) else: print(y,x)
Traceback (most recent call last): File "/tmp/tmppac6xnzd/tmpnpr6i3hq.py", line 1, in <module> x=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s057888681
p02397
u664228906
1506325621
Python
Python3
py
Runtime Error
0
0
111
x,y=map(int, input().split()) while x != 0 or y != 0: if x<y: print(x + " " + y) else: print(y + " " + x)
Traceback (most recent call last): File "/tmp/tmpiv6fun44/tmpdqrp1q4d.py", line 1, in <module> x,y=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s707815459
p02397
u664228906
1506325708
Python
Python3
py
Runtime Error
0
0
114
x,y=map(int, input().split()) while x != 0 or y != 0 : if x<y : print(x + " " + y) else : print(y + " " + x)
Traceback (most recent call last): File "/tmp/tmplfxhufm0/tmpk7__142d.py", line 1, in <module> x,y=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s342921267
p02397
u664228906
1506325723
Python
Python3
py
Runtime Error
0
0
116
x,y=map(int, input().split()) while x != 0 or y != 0 : if x < y : print(x + " " + y) else : print(y + " " + x)
Traceback (most recent call last): File "/tmp/tmpjdcp9z7y/tmpjr1updpa.py", line 1, in <module> x,y=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s115357974
p02397
u664228906
1506325845
Python
Python3
py
Runtime Error
0
0
99
x,y=map(int, input().split()) while !(x ==0 and y==0) : if x < y : print(x, y) else : print(y, x)
File "/tmp/tmpsdeotnf0/tmpxdthr209.py", line 2 while !(x ==0 and y==0) : ^ SyntaxError: invalid syntax
s289119252
p02397
u936401118
1506903358
Python
Python3
py
Runtime Error
0
0
170
x, y = map(int, input().split()) while (x != 0 && y != 0): if x <= y : print(x, y) elif x > y : print(y, x) x, y = map(int, input().split())
File "/tmp/tmp_z1rkb27/tmpbewpqu5t.py", line 3 while (x != 0 && y != 0): ^ SyntaxError: invalid syntax
s109106323
p02397
u936401118
1506903480
Python
Python3
py
Runtime Error
0
0
175
x, y = map(int, input().split()) while (x != 0 && y != 0): if x <= y : print(x, y) elif x > y : print(y, x) x = int(input()) y = int(input())
File "/tmp/tmpjwwhmuvb/tmp6f0t_2xh.py", line 3 while (x != 0 && y != 0): ^ SyntaxError: invalid syntax
s092187866
p02397
u936401118
1506903576
Python
Python3
py
Runtime Error
0
0
169
x, y = map(int, input().split()) while (x != 0 && y != 0): if x <= y : print(x, y) else : print(y, x) x = int(input()) y = int(input())
File "/tmp/tmporfdebra/tmploenm4k9.py", line 3 while (x != 0 && y != 0): ^ SyntaxError: invalid syntax
s151534768
p02397
u480053997
1506989272
Python
Python3
py
Runtime Error
0
0
174
import sys for xy in sys.stdin: x, y = xy.split() i if x == '0' and y == '0': break elif int(x) > int(y): x, y = y, x print('%s %s'%(x, y))
File "/tmp/tmpg52baoca/tmp0wmwl5oj.py", line 4 i if x == '0' and y == '0': ^ SyntaxError: invalid syntax
s954986899
p02397
u845643816
1509199881
Python
Python3
py
Runtime Error
0
0
111
while True: x = list(map(int, input().split())) if x == y == 0: break print(min(x), max(x))
Traceback (most recent call last): File "/tmp/tmppr10mqu7/tmpkn9u8cbs.py", line 2, in <module> x = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s319925074
p02397
u518939641
1509458503
Python
Python3
py
Runtime Error
0
0
229
import numpy as np n=[] line='' while line != '0 0': n.append(list(map(int,input().split()))) n=np.array(n) for i in range(len(n)): print('%d %d'%(n[i,0] if n[i,0]>=n[i,1] else n[i,1],n[i,0] if n[i,0]<=n[i,1] else n[i,1])
File "/tmp/tmpxjep1peg/tmpjis54g82.py", line 8 print('%d %d'%(n[i,0] if n[i,0]>=n[i,1] else n[i,1],n[i,0] if n[i,0]<=n[i,1] else n[i,1]) ^ SyntaxError: '(' was never closed
s041608168
p02397
u518939641
1509458827
Python
Python3
py
Runtime Error
0
0
245
import numpy as np n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) n=np.array(n) for i in range(len(n)): print('%d %d'%(n[i,0] if n[i,0]>=n[i,1] else n[i,1],n[i,0] if n[i,0]<=n[i,1] else n[i,1]))
Traceback (most recent call last): File "/tmp/tmp4ws7qtid/tmpyllm0xmx.py", line 6, in <module> line=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s582836717
p02397
u518939641
1509458839
Python
Python3
py
Runtime Error
0
0
245
import numpy as np n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) n=np.array(n) for i in range(len(n)): print('%d %d'%(n[i,0] if n[i,0]>=n[i,1] else n[i,1],n[i,0] if n[i,0]<=n[i,1] else n[i,1]))
Traceback (most recent call last): File "/tmp/tmpxsj5bcum/tmphupah3vq.py", line 6, in <module> line=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s281734454
p02397
u518939641
1509458862
Python
Python3
py
Runtime Error
0
0
126
import numpy as np n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) n=np.array(n)
Traceback (most recent call last): File "/tmp/tmprss6_pts/tmpx_t1zztm.py", line 6, in <module> line=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s910840775
p02397
u518939641
1509458880
Python
Python3
py
Runtime Error
0
0
112
import numpy as np n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line)
Traceback (most recent call last): File "/tmp/tmpt5qmwgw3/tmpjk0dj9zq.py", line 6, in <module> line=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s867465069
p02397
u518939641
1509458890
Python
Python3
py
Runtime Error
0
0
32
import numpy as np n=[] line=''
s707407392
p02397
u518939641
1509460105
Python
Python3
py
Runtime Error
0
0
126
for i in range(len(n)): print('%d %d'%(n[i][0] if n[i][0]>=n[i][1] else n[i][1],n[i][0] if n[i][0]<=n[i][1] else n[i][1]))
Traceback (most recent call last): File "/tmp/tmpgiulpiah/tmpa_47qs1x.py", line 1, in <module> for i in range(len(n)): ^ NameError: name 'n' is not defined
s062607781
p02397
u518939641
1509460115
Python
Python3
py
Runtime Error
0
0
126
for i in range(len(n)): print('%d %d'%(n[i][0] if n[i][0]>=n[i][1] else n[i][1],n[i][0] if n[i][0]<=n[i][1] else n[i][1]))
Traceback (most recent call last): File "/tmp/tmp16yuy33o/tmpatnoue5f.py", line 1, in <module> for i in range(len(n)): ^ NameError: name 'n' is not defined
s986784933
p02397
u518939641
1509460178
Python
Python3
py
Runtime Error
0
0
240
n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) for i in range(len(n)-1): print('%d %d'%(n[i][0] if n[i][0]>=n[i][1] else n[i][1],n[i][0] if n[i][0]<=n[i][1] else n[i][1]))javascript:void(0)
File "/tmp/tmpkhmnmax2/tmpkpkw1drf.py", line 8 print('%d %d'%(n[i][0] if n[i][0]>=n[i][1] else n[i][1],n[i][0] if n[i][0]<=n[i][1] else n[i][1]))javascript:void(0) ^^^^^^^^^^ SyntaxError: invalid syntax
s176837685
p02397
u626266743
1510019529
Python
Python3
py
Runtime Error
0
0
114
while True: x, y = map(int, input().split()) if (x > y): print(y, x) else: print(x, y)
Traceback (most recent call last): File "/tmp/tmpx1nak3_j/tmp5509cqms.py", line 2, in <module> x, y = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s425157076
p02397
u626266743
1510019585
Python
Python3
py
Runtime Error
0
0
155
while True: x, y = map(int, input().split()) if (x == y == 0): break else if (x > y): print(y, x) else: print(x, y)
File "/tmp/tmpa_tvbx7h/tmpxql5xeid.py", line 5 else if (x > y): ^^ SyntaxError: expected ':'
s083801436
p02397
u424457654
1510030472
Python
Python3
py
Runtime Error
0
0
105
while True: [x, y] = map(int(input().split())) if x == y == 0: break print(min(x, y) max(x, y))
File "/tmp/tmpwgjx2pen/tmp21ddo1eo.py", line 5 print(min(x, y) max(x, y)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s435684399
p02397
u424457654
1510030616
Python
Python3
py
Runtime Error
0
0
105
while True: [x, y] = map(int, input().split()) if x == y == 0: break print(min(x, y) max(x, y))
File "/tmp/tmpp8c6nyrf/tmpr85_1mrt.py", line 5 print(min(x, y) max(x, y)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s866365013
p02397
u899891332
1510469655
Python
Python3
py
Runtime Error
0
0
191
while True: line = input().split() if line == '0 0': break if int(line[0]) < int(line[1]): print('{} {}'.format(line[0],line[1])) else: print('{} {}'.format(line[1], line[0]))
Traceback (most recent call last): File "/tmp/tmp3ckmcscd/tmpui8e4n9l.py", line 2, in <module> line = input().split() ^^^^^^^ EOFError: EOF when reading a line
s851746444
p02397
u150984829
1513064361
Python
Python
py
Runtime Error
0
0
128
a=[] while True: n=input() if int(n)==0:break a.append(n) for s in a: x,y=s.split() if x>y:print(f'{y} < x') else:print(s)
Traceback (most recent call last): File "/tmp/tmpekar97dn/tmprgioheat.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s741993189
p02397
u150984829
1513064368
Python
Python3
py
Runtime Error
0
0
128
a=[] while True: n=input() if int(n)==0:break a.append(n) for s in a: x,y=s.split() if x>y:print(f'{y} < x') else:print(s)
Traceback (most recent call last): File "/tmp/tmpznrxnxd4/tmpm8k3_6oh.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s853549251
p02397
u150984829
1513064395
Python
Python3
py
Runtime Error
0
0
130
a=[] while True: n=input() if int(n)==0:break a.append(n) for s in a: x,y=s.split() if x>y:print(f'{y} < {x}') else:print(s)
Traceback (most recent call last): File "/tmp/tmp3cwghhot/tmpu0lpskas.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s656337509
p02397
u150984829
1513064426
Python
Python3
py
Runtime Error
0
0
137
a=[] while True: n=input() if int(n)==0:break a.append(n) for s in a: x,y=map(int,s.split()) if x>y:print(f'{y} {x}') else:print(s)
Traceback (most recent call last): File "/tmp/tmpn9levd9w/tmp0akbtrwu.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line
s876531900
p02397
u150984829
1513083680
Python
Python3
py
Runtime Error
0
0
102
while True: a=input x,y=map(int,a.split()) if x*y==0:break if x>y:print(f'{y} {x}') else:print(a)
Traceback (most recent call last): File "/tmp/tmpyt5yk88k/tmp29q6r6fv.py", line 3, in <module> x,y=map(int,a.split()) ^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s021877034
p02397
u150984829
1513104095
Python
Python3
py
Runtime Error
0
0
105
a=[] while 1: n=input() if n=='0 0':break x,y=map(int,n.split()) if x>y:print(y+' '+x) else:print(n)
Traceback (most recent call last): File "/tmp/tmpfn1cgm8j/tmprfyxuyoy.py", line 3, in <module> n=input() ^^^^^^^ EOFError: EOF when reading a line