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
s149492983
p02397
u525395303
1555912413
Python
Python3
py
Runtime Error
0
0
38
You are not allowed to see this code.
File "/tmp/tmp0s42np8r/tmpisnlqf1r.py", line 1 You are not allowed to see this code. ^^^ SyntaxError: invalid syntax
s837580102
p02397
u607723579
1555912451
Python
Python3
py
Runtime Error
0
0
159
while True: x,y = map(int,raw_input().split(" ")) if (x,y) == (0,0): break elif (x < y): print x, y else : print y, x
File "/tmp/tmpafo96n_e/tmp10cgicmv.py", line 6 print x, y ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s734223076
p02397
u093488647
1555997506
Python
Python3
py
Runtime Error
0
0
180
cnt = 1 output = [] while True: data += input().split() if data[0] == 0 && data[1] == 0: break output += [str(data[1]) + ' ' + str(data[0])] for line in output: print(line)
File "/tmp/tmpppra65s6/tmpp1olmqpx.py", line 5 if data[0] == 0 && data[1] == 0: ^ SyntaxError: invalid syntax
s783792864
p02397
u093488647
1555997569
Python
Python3
py
Runtime Error
0
0
181
cnt = 1 output = [] while True: data += input().split() if data[0] == 0 and data[1] == 0: break output += [str(data[1]) + " " + str(data[0])] for line in output: print(line)
Traceback (most recent call last): File "/tmp/tmpmisyxm49/tmp5seg2n7z.py", line 4, in <module> data += input().split() ^^^^ NameError: name 'data' is not defined
s276739211
p02397
u651717882
1556034391
Python
Python3
py
Runtime Error
0
0
161
x,y = input().split() x = int() y = int() while true: if x < y: print(y,x) if x > y: print(x,y) if x==0 and y==0: break
Traceback (most recent call last): File "/tmp/tmpbrmc1ym6/tmpdvees91v.py", line 1, in <module> x,y = input().split() ^^^^^^^ EOFError: EOF when reading a line
s483565885
p02397
u651717882
1556034412
Python
Python3
py
Runtime Error
0
0
163
x,y = input().split() x = int(x) y = int(y) while true: if x < y: print(y,x) if x > y: print(x,y) if x==0 and y==0: break
Traceback (most recent call last): File "/tmp/tmp84g5ks3d/tmp3jg0wfhd.py", line 1, in <module> x,y = input().split() ^^^^^^^ EOFError: EOF when reading a line
s776176694
p02397
u651717882
1556034487
Python
Python3
py
Runtime Error
0
0
167
x,y = input().split() x = int(x) y = int(y) while True: if x < y: print(y,x) elif x > y: print(x,y) else x==0 and y==0: break
File "/tmp/tmpodk00w0s/tmpk3605c0d.py", line 9 else x==0 and y==0: ^ SyntaxError: expected ':'
s212057725
p02397
u651717882
1556034520
Python
Python3
py
Runtime Error
0
0
165
x,y = input().split() x = int(x) y = int(y) while True: if x < y: print(y,x) else x > y: print(x,y) if x==0 and y==0: break
File "/tmp/tmpl79g1sb8/tmp500_kjch.py", line 7 else x > y: ^ SyntaxError: expected ':'
s041536479
p02397
u269825453
1556106635
Python
Python3
py
Runtime Error
0
0
128
while True: x,y = map(int, input().split()) if(x+y == 0): break if(x>y):å print(y, x) else: print(x, y)
File "/tmp/tmpo54g9uqu/tmpf6zm54f3.py", line 7 print(y, x) IndentationError: unexpected indent
s343824483
p02397
u108130680
1556281370
Python
Python3
py
Runtime Error
0
0
132
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break if x > y: print(y, x) else: print(x, y)
File "/tmp/tmpx209kj02/tmpmjneyd28.py", line 4 break ^ IndentationError: expected an indented block after 'if' statement on line 3
s788786100
p02397
u805716376
1556700414
Python
Python3
py
Runtime Error
0
0
124
for i in range(3000): a, b = map(int, input().split()) if a <= b: print(a, b) else: print(b, a)
Traceback (most recent call last): File "/tmp/tmpp089wlsl/tmpwvtk3a43.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s045361881
p02397
u805716376
1556700434
Python
Python3
py
Runtime Error
0
0
124
for i in range(3001): a, b = map(int, input().split()) if a <= b: print(a, b) else: print(b, a)
Traceback (most recent call last): File "/tmp/tmppa0dqfkd/tmpga1bxj65.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s951457003
p02397
u591403647
1558936327
Python
Python3
py
Runtime Error
0
0
133
​ while True: x,y=map(int, input().split()) ​ if x+y==0: break if x>=y: tmp = x x=y y=tmp ​ print(x,y)
File "/tmp/tmp1jlm1y7g/tmpuugxdaux.py", line 1 ​ ^ SyntaxError: invalid non-printable character U+200B
s066424181
p02397
u591403647
1558936353
Python
Python3
py
Runtime Error
0
0
127
​while True: x,y=map(int, input().split()) if x+y==0: break if x>=y: tmp = x x=y y=tmp print(x,y)
File "/tmp/tmp_yoxe88k/tmp5y0anvl_.py", line 1 ​while True: ^ SyntaxError: invalid non-printable character U+200B
s411036762
p02397
u591403647
1558936443
Python
Python3
py
Runtime Error
0
0
130
while True: x,y=map(int, input().split()) ​ if x+y==0: break if x>=y: tmp = x x=y y=tmp ​ print(x,y)
File "/tmp/tmpk8o4ks10/tmp03iaooc4.py", line 3 ​ ^ SyntaxError: invalid non-printable character U+200B
s997991854
p02397
u591403647
1558936525
Python
Python3
py
Runtime Error
0
0
130
while True: x,y=map(int, input().split()) ​ if x+y==0: break if x>=y: tmp = x x=y y=tmp ​ print(x,y)
File "/tmp/tmpp1pmaw1o/tmpptk62cw9.py", line 3 ​ ^ SyntaxError: invalid non-printable character U+200B
s437440570
p02397
u591403647
1558936551
Python
Python3
py
Runtime Error
0
0
137
while True: x,y=map(int, input().split()) ​ if x==0 and y==0: break if x>=y: tmp = x x=y y=tmp ​ print(x,y)
File "/tmp/tmpxfjjg15p/tmp1d7z72fg.py", line 3 ​ ^ SyntaxError: invalid non-printable character U+200B
s062221696
p02397
u520674325
1559020910
Python
Python3
py
Runtime Error
0
0
159
while True: x = int(input().split()) if x[0] == 0 and x[1] == 0: break if x[0]>x[1]: print('%d %d' % (x[1],x[0]) else: print('%d %d' % (x[0],x[1])
File "/tmp/tmppcqz6spv/tmpg7banrmg.py", line 9 else: ^^^^ SyntaxError: invalid syntax
s936865109
p02397
u520674325
1559020936
Python
Python3
py
Runtime Error
0
0
161
while True: x = int(input().split()) if x[0] == 0 and x[1] == 0: break if x[0]>x[1]: print('%d %d' % (x[1],x[0])) else: print('%d %d' % (x[0],x[1]))
Traceback (most recent call last): File "/tmp/tmpseupeg_q/tmp9tyinay5.py", line 2, in <module> x = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s188284992
p02397
u520674325
1559021014
Python
Python3
py
Runtime Error
0
0
137
while True: x = int(input().split()) if x[0] == 0 and x[1] == 0: break if x[0]>x[1]: print(x[1],x[0]) else: print(x[0],x[1])
Traceback (most recent call last): File "/tmp/tmpzx1us_jo/tmp5w_3gtho.py", line 2, in <module> x = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s238156222
p02397
u629874472
1559029504
Python
Python3
py
Runtime Error
0
0
181
while True: a,b = map(int,input().split()) if a ==0 and b ==0: break else: if a>=b: print(a,b) else: a,b =b,a print(a,b)
File "/tmp/tmpje7b_r39/tmpkp9lt83d.py", line 7 print(a,b) ^ IndentationError: expected an indented block after 'if' statement on line 6
s687550946
p02397
u629874472
1559029553
Python
Python3
py
Runtime Error
0
0
165
while True: a,b = map(int,input().split()) if a ==0 and b ==0: break else: if a<b: a,b =b,a print(a,b)else:
File "/tmp/tmpvlbdo70r/tmpw3d5jf1f.py", line 8 print(a,b)else: ^^^^ SyntaxError: invalid syntax
s240673300
p02397
u629874472
1559029571
Python
Python3
py
Runtime Error
0
0
189
while True: a,b = map(int,input().split()) if a ==0 and b ==0: break else: if a<=b: print(a,b) else: a,b =b,a print(a,b)
File "/tmp/tmpfva4mgvu/tmpaho4h_2d.py", line 7 print(a,b) ^ IndentationError: expected an indented block after 'if' statement on line 6
s861856951
p02397
u477464845
1559056917
Python
Python3
py
Runtime Error
0
0
168
while True: a,b = map(int,input().split()) if x == 0 and b == 0: break else: if a > b: a,b = b,a print("{} {}".format(a,b))
Traceback (most recent call last): File "/tmp/tmp21unyaxi/tmpkkexv4xg.py", line 2, in <module> a,b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s473932493
p02397
u477464845
1559057011
Python
Python3
py
Runtime Error
0
0
173
while True: a, b = map(int, input().split()) if x == 0 and b == 0: break else: if a > b: a, b = b, a print("{} {}".format(a, b))
Traceback (most recent call last): File "/tmp/tmpjn2mclwv/tmpcly6zld2.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s843363578
p02397
u477464845
1559057218
Python
Python3
py
Runtime Error
0
0
181
while True: a,b = map(int,input().split()) if x == 0 and b == 0: break else: if a < b: print(a,b) elif a > b: print(b,a)
Traceback (most recent call last): File "/tmp/tmp8t4vhyrk/tmp33v5e4iy.py", line 2, in <module> a,b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s975637742
p02397
u477464845
1559057477
Python
Python3
py
Runtime Error
0
0
213
while True: a,b = map(int,input().split()) if x == 0 and b == 0: break else: if a < b: print("{} {}".format(a,b)) elif a > b: print("{} {}".format(b,a))
Traceback (most recent call last): File "/tmp/tmp3n42bzij/tmp0y_prq2x.py", line 2, in <module> a,b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s188159533
p02397
u535719732
1559195521
Python
Python3
py
Runtime Error
0
0
260
list = [] while True: num = list(map(int,input())) if(num[0] == 0 and num[1] == 0): break else: if(num[0] > num[1]): print("%d %d" %(num[1],num[0])) else: print("%d %d" %(num[0],num[1]))
Traceback (most recent call last): File "/tmp/tmp38rmu5_6/tmpke19_44k.py", line 3, in <module> num = list(map(int,input())) ^^^^^^^ EOFError: EOF when reading a line
s340392156
p02397
u535719732
1559195559
Python
Python3
py
Runtime Error
0
0
268
list = [] while True: num = list(map(int,input().split())) if(num[0] == 0 and num[1] == 0): break else: if(num[0] > num[1]): print("%d %d" %(num[1],num[0])) else: print("%d %d" %(num[0],num[1]))
Traceback (most recent call last): File "/tmp/tmpj2z49n8c/tmpdzu8s0y0.py", line 3, in <module> num = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s527583053
p02397
u494048940
1559231936
Python
Python3
py
Runtime Error
0
0
173
while True: a,b=map(int,input().sprit()) if (a==0 and b==0): break if a>b: swap=a a=b b=swap print('%d %d'%(a,b))
Traceback (most recent call last): File "/tmp/tmpsfx88t1c/tmpto8u2q1z.py", line 2, in <module> a,b=map(int,input().sprit()) ^^^^^^^ EOFError: EOF when reading a line
s061768557
p02397
u015712946
1559524390
Python
Python3
py
Runtime Error
0
0
137
while True: x, y = map(int, input().split()) if x == 0 and y == 0 :    break if x>y: print(y, x) else: print(x,y)
File "/tmp/tmpylxr_jyj/tmpirtf8zhp.py", line 4    break ^ SyntaxError: invalid non-printable character U+3000
s694185345
p02397
u015712946
1559524486
Python
Python3
py
Runtime Error
0
0
317
#include <iostream> using namespace std; int main() {   int x, y;   while(true) {    cin >> x >> y;    if(x == 0 && y == 0) {    break;    }    if(x>y) {    cout << y << " " << x << endl;    }    else {    cout << x << " " << y << endl;    }   } }
File "/tmp/tmp4l0wrwc8/tmpxyvlgqo9.py", line 6   int x, y; ^ SyntaxError: invalid non-printable character U+3000
s191486786
p02397
u499005012
1413651385
Python
Python3
py
Runtime Error
0
0
193
while True: results = list(map(str, sorted(map(int, input().split())))) if len(results) == len(list(filter(lambda item: item == '0', results))) break print ' '.join(results)
File "/tmp/tmpobsvkmqp/tmp5hmtmi9t.py", line 3 if len(results) == len(list(filter(lambda item: item == '0', results))) ^ SyntaxError: expected ':'
s260203741
p02397
u017764209
1416928214
Python
Python
py
Runtime Error
0
0
233
listx = [] listy = [] while True: x,y = map(int,raw_input().split()) if x==0 and y==0: break list.append(x) list.append(y) listx.sort() listy.sort() for i in len(listx): print '%s %S',(listx[i],listy[i])
File "/tmp/tmpt8roh7jx/tmpfj2_4753.py", line 14 print '%s %S',(listx[i],listy[i]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s734405974
p02397
u017764209
1416928264
Python
Python
py
Runtime Error
0
0
240
listx = [] listy = [] while True: x,y = map(int,raw_input().split()) if x==0 and y==0: break list.append(x) list.append(y) listx.sort() listy.sort() for i in range(len(listx)): print '%s %S',(listx[i],listy[i])
File "/tmp/tmp75hk0l5h/tmpjdxhbwz9.py", line 14 print '%s %S',(listx[i],listy[i]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s356825590
p02397
u879226672
1423053029
Python
Python
py
Runtime Error
0
0
258
i = 0 while True: x,y = raw_input() if x == 0 and y == 0: break if x > y: x,y = map(str,(x,y)) print x + " " + y else: x,y = map(str,(x,y)) print y + " " + x i += 1 #print "Case %d: %d" % (i, x)
File "/tmp/tmpm4cnhzrz/tmp02g65a7o.py", line 8 print x + " " + y ^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s522611759
p02397
u879226672
1423053059
Python
Python
py
Runtime Error
0
0
208
while True: x,y = raw_input() if x == 0 and y == 0: break if x > y: x,y = map(str,(x,y)) print x + " " + y else: x,y = map(str,(x,y)) print y + " " + x
File "/tmp/tmp6j96p43f/tmp9znqpi17.py", line 8 print x + " " + y ^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s962479943
p02397
u879226672
1423053087
Python
Python
py
Runtime Error
0
0
208
while True: x,y = raw_input() if x == 0 and y == 0: break if x > y: x,y = map(str,(x,y)) print x + " " + y else: x,y = map(str,(x,y)) print y + " " + x
File "/tmp/tmphrks9o2s/tmpupzjcp4m.py", line 8 print x + " " + y ^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s136639719
p02397
u879226672
1423053254
Python
Python
py
Runtime Error
0
0
232
while True: x,y = raw_input() x,y = map(int,(x,y)) if x == 0 and y == 0: break if x > y: x,y = map(str,(x,y)) print x + " " + y else: x,y = map(str,(x,y)) print y + " " + x
File "/tmp/tmpojllzlqz/tmpwwlydw3n.py", line 8 print x + " " + y ^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s392735721
p02397
u879226672
1423053283
Python
Python
py
Runtime Error
0
0
242
while True: x,y = raw_input().split() #x,y = map(int,(x,y)) if x == 0 and y == 0: break if x > y: x,y = map(str,(x,y)) print x + " " + y else: x,y = map(str,(x,y)) print y + " " + x
File "/tmp/tmpdhi74q56/tmp4mbruu2a.py", line 9 print x + " " + y ^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s658990280
p02397
u447630054
1424780506
Python
Python3
py
Runtime Error
0
0
151
import sys while True: (x, y) = [int(i) for i in sys.stdin.readline().split()] if x == 0 == y: break if x > y: print(x, y)
File "/tmp/tmpyp7z7lrl/tmpv9viqfrd.py", line 8 print(x, y) ^ IndentationError: expected an indented block after 'if' statement on line 6
s885846124
p02397
u281873326
1427372963
Python
Python
py
Runtime Error
0
0
436
stack = [] while True: a = raw_input() if a == '0 0': break for i, b in enumerate(a.split()): if i==0: x=int(b) else: y=int(b) if x<=y: stack.append(x) stack.append(y) else: stack.append(y) stack.append(x) for i, c in enumerate(stack): w=i%2 if w==0: x=int(c) else: y=int(c) print x,y
File "/tmp/tmpmdnmt287/tmpb3f_tce2.py", line 22 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s692277658
p02397
u281873326
1427373007
Python
Python
py
Runtime Error
0
0
436
stack = [] while True: a = raw_input() if a == '0 0': break for i, b in enumerate(a.split()): if i==0: x=int(b) else: y=int(b) if x<=y: stack.append(x) stack.append(y) else: stack.append(y) stack.append(x) for i, c in enumerate(stack): w=i%2 if w==0: x=int(c) else: y=int(c) print x,y
File "/tmp/tmp8pzkanlw/tmp1p1dr7ia.py", line 22 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s361755644
p02397
u281873326
1427373606
Python
Python
py
Runtime Error
0
0
436
stack = [] while True: a = raw_input() if a == '0 0': break for i, b in enumerate(a.split()): if i==0: x=int(b) else: y=int(b) if x<=y: stack.append(x) stack.append(y) else: stack.append(y) stack.append(x) for i, c in enumerate(stack): w=i%2 if w==0: x=int(c) else: y=int(c) print x,y
File "/tmp/tmp3i69dyjc/tmpwmr209iz.py", line 22 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s105067854
p02397
u281873326
1427373661
Python
Python
py
Runtime Error
0
0
436
stack = [] while True: a = raw_input() if a == '0 0': break for i, b in enumerate(a.split()): if i==0: x=int(b) else: y=int(b) if x<=y: stack.append(x) stack.append(y) else: stack.append(y) stack.append(x) for i, c in enumerate(stack): w=i%2 if w==0: x=int(c) else: y=int(c) print x,y
File "/tmp/tmpleymndk1/tmpaw5w20n_.py", line 22 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s499597480
p02397
u162387221
1431149489
Python
Python
py
Runtime Error
0
0
114
while True: x, y = sorted(map(int, raw_input().split())) if x == y == 0: break print x,y
File "/tmp/tmpf_s9lnjq/tmpcruikp_8.py", line 1 while True: IndentationError: unexpected indent
s197863360
p02397
u172616925
1435314265
Python
Python
py
Runtime Error
0
0
136
while 1: x, y = raw_input() if x == 0 and y ==0: break elif y > x: print "%s %s" & (y,x) else: print "&s &s" & (x,y)
File "/tmp/tmpxsc9c0x4/tmpaotpo1kc.py", line 6 print "%s %s" & (y,x) ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s026217262
p02397
u172616925
1435314336
Python
Python
py
Runtime Error
0
0
146
while 1: x, y = map(int, raw_input()) if x == 0 and y ==0: break elif y > x: print "%d %d" & (y,x) else: print "&d &d" & (x,y)
File "/tmp/tmpab1s634g/tmpq1u2nrmd.py", line 6 print "%d %d" & (y,x) ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s920207161
p02397
u172616925
1435314376
Python
Python
py
Runtime Error
0
0
154
while 1: x, y = map(int, raw_input().split()) if x == 0 and y ==0: break elif y > x: print "%d %d" & (y,x) else: print "&d &d" & (x,y)
File "/tmp/tmpqgkkja7m/tmpj9bbhpc1.py", line 6 print "%d %d" & (y,x) ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s119941383
p02397
u446066125
1436754692
Python
Python3
py
Runtime Error
0
0
163
while True : (x, y) = int(i) for i in input().split() if x = 0 and y = 0 : break elif x >= y : print(x,y) else : print(y,x)
File "/tmp/tmp0zjceliv/tmpz1onvays.py", line 2 (x, y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s556055010
p02397
u446066125
1436754908
Python
Python3
py
Runtime Error
0
0
171
while True : (x, y) = int(i) for i in input().split().strip() if x = 0 and y = 0 : break elif x >= y : print(x,y) else : print(y,x)
File "/tmp/tmptb3vg6zr/tmpq8rgzgda.py", line 2 (x, y) = int(i) for i in input().split().strip() ^^^ SyntaxError: invalid syntax
s829781597
p02397
u446066125
1436755417
Python
Python3
py
Runtime Error
0
0
159
while True : (x, y) = int(i) for i in input().split() if x = 0 y = 0 : break elif x >= y : print(x,y) else : print(y,x)
File "/tmp/tmp2mh9lpg9/tmpvr7tvfpg.py", line 2 (x, y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s709284678
p02397
u446066125
1436755471
Python
Python3
py
Runtime Error
0
0
163
while True : (x, y) = int(i) for i in input().strip() if x = 0 and y = 0 : break elif x >= y : print(x,y) else : print(y,x)
File "/tmp/tmp11t4_r7f/tmpfmmd5w_0.py", line 2 (x, y) = int(i) for i in input().strip() ^^^ SyntaxError: invalid syntax
s021308087
p02397
u446066125
1436755922
Python
Python3
py
Runtime Error
0
0
161
while True : (x,y) = int(i) for i in input().split() if x = 0 and y = 0 : break elif x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmpdxhnae6y/tmpc_4i72ug.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s214566494
p02397
u446066125
1436755939
Python
Python3
py
Runtime Error
0
0
168
while True : (x,y) = int(i) for i in input().strip(split()) if x = 0 and y = 0 : break elif x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmpe_yww3qv/tmp4jgjk6jd.py", line 2 (x,y) = int(i) for i in input().strip(split()) ^^^ SyntaxError: invalid syntax
s778802356
p02397
u446066125
1436755947
Python
Python3
py
Runtime Error
0
0
161
while True : (x,y) = int(i) for i in input().strip() if x = 0 and y = 0 : break elif x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmpmd1zt9le/tmps_wewdy7.py", line 2 (x,y) = int(i) for i in input().strip() ^^^ SyntaxError: invalid syntax
s820156889
p02397
u446066125
1436755988
Python
Python3
py
Runtime Error
0
0
161
while True : (x,y) = int(i) for i in input().split() if x = 0 and y = 0 : break elif x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmpih45sc9p/tmp5cdjr9gg.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s499264065
p02397
u446066125
1436756012
Python
Python3
py
Runtime Error
0
0
160
while True : (x,y) = int(i) for i in input().split() if 0 = x and 0 = y: break elif x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmp6yf2_4ws/tmp9b4yr76z.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s712897494
p02397
u446066125
1436756035
Python
Python3
py
Runtime Error
0
0
163
while True : (x,y) = int(i) for i in input().split() if 0 = x and 0 = y: break else if x <= y: print(x,y) else : peint(y,x)
File "/tmp/tmpfwyybw0h/tmpp18fheos.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s060901484
p02397
u446066125
1436756043
Python
Python3
py
Runtime Error
0
0
163
while True : (x,y) = int(i) for i in input().split() if 0 = x and 0 = y: break else if x <= y: print(x,y) else : print(y,x)
File "/tmp/tmpdj929mm0/tmp16aod2s_.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s126261302
p02397
u446066125
1436756051
Python
Python3
py
Runtime Error
0
0
160
while True : (x,y) = int(i) for i in input().split() if 0 = x and 0 = y: break elif x <= y: print(x,y) else : print(y,x)
File "/tmp/tmpgkgl0oi9/tmpa27mr5fh.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s554484714
p02397
u446066125
1436756105
Python
Python3
py
Runtime Error
0
0
152
while True : (x,y) = int(i) for i in input().split() if y < x : print(y,x) elif x <= y : print(x,y) else : break
File "/tmp/tmp_m0fp4jl/tmpswi3pg4w.py", line 2 (x,y) = int(i) for i in input().split() ^^^ SyntaxError: invalid syntax
s414886106
p02397
u446066125
1436756258
Python
Python3
py
Runtime Error
0
0
196
while True : num = input().strip() num = num.split() x = int(num[0]) y = int(num[1]) if y < x : print(y,x) elif x <= y : print(x,y) else : break
Traceback (most recent call last): File "/tmp/tmpv35ton8m/tmpaby54pu0.py", line 2, in <module> num = input().strip() ^^^^^^^ EOFError: EOF when reading a line
s995078163
p02397
u446066125
1436756397
Python
Python3
py
Runtime Error
0
0
162
while True : (x,y) = [int(i) for i in input().split()] if 0 = x and 0 = y: break elif x <= y: print(x,y) else : print(y,x)
File "/tmp/tmpde1yizk2/tmpplokkqu2.py", line 3 if 0 = x and 0 = y: ^ SyntaxError: cannot assign to literal here. Maybe you meant '==' instead of '='?
s385386425
p02397
u446066125
1436756528
Python
Python3
py
Runtime Error
0
0
162
while True : (x,y) = [int(i) for i in input().split()] if 0 = x and 0 = y: break elif x <= y: print(x,y) else : print(y,x)
File "/tmp/tmptal4c59q/tmpy3868exn.py", line 3 if 0 = x and 0 = y: ^ SyntaxError: cannot assign to literal here. Maybe you meant '==' instead of '='?
s351694315
p02397
u446066125
1436756679
Python
Python3
py
Runtime Error
0
0
206
while True : ??????num = input().strip() num = num.sprit() x = int(num[0]) y = int(num[1]) if 0 = x and 0 = y: break elif x <= y: print(x,y) else : print(y,x)
File "/tmp/tmplz8zy5q9/tmpk7xezejq.py", line 2 ??????num = input().strip() ^ IndentationError: expected an indented block after 'while' statement on line 1
s228894070
p02397
u389610071
1436769421
Python
Python3
py
Runtime Error
0
0
130
(x, y) = (int(i) for i in input().split()) if x = 0 and y = 0: break elif x <= y: print(x, y) elif x >= y: print(y, x)
File "/tmp/tmpla2i3vsy/tmptep9ac_k.py", line 2 if x = 0 and y = 0: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s938846360
p02397
u389610071
1436769468
Python
Python3
py
Runtime Error
0
0
170
while True: (x, y) = (int(i) for i in input().split()) if x = 0 and y = 0: break elif x <= y: print(x, y) elif x >= y: print(y, x)
File "/tmp/tmpl9gnfkvf/tmpcte7xkx9.py", line 3 if x = 0 and y = 0: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s243923935
p02397
u389610071
1436769556
Python
Python3
py
Runtime Error
0
0
169
while True: (x, y) = (int(i) for i in input().split()) if x = 0 and y = 0: break elif x <= y: print(x, y) elif x > y: print(y, x)
File "/tmp/tmp1yb8p_l7/tmp60z7zk9s.py", line 3 if x = 0 and y = 0: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s804478464
p02397
u389610071
1436769644
Python
Python3
py
Runtime Error
0
0
163
while True: (x, y) = (int(i) for i in input().split()) if x = 0 and y = 0: break elif x <= y: print(x, y) else: print(y, x)
File "/tmp/tmp95uul0rx/tmpxgaohtyd.py", line 3 if x = 0 and y = 0: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s682447881
p02397
u916212924
1437999562
Python
Python3
py
Runtime Error
0
0
191
ans = [] while True: arr = map(int, raw_input().split()) if arr[0] == 0 and arr[1] == 0: break else: arr.sort() ans.append(arr) for x in ans: print(" ".join(map(str, x)))
Traceback (most recent call last): File "/tmp/tmp67ur0f6y/tmpokesa660.py", line 3, in <module> arr = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s405571648
p02397
u938745275
1439486022
Python
Python
py
Runtime Error
0
0
254
list = [] while True: line = raw_input().split(" ") if line[0] == 0 and line[1] == 0: break line = map(int, line) #print line if line[0] > line[1]: temp = line[0] line[0] = line[1] line[1] = temp print " ".join(map(str, line))
File "/tmp/tmpmwhn_wq2/tmp2kuo5xc6.py", line 12 print " ".join(map(str, line)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s184108061
p02397
u605525736
1439526704
Python
Python3
py
Runtime Error
0
0
67
while True: (x,y) = [int(i) for i in input().split()] print(x, y)
Traceback (most recent call last): File "/tmp/tmp105v2y63/tmp4fphoih0.py", line 2, in <module> (x,y) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s907164334
p02397
u605525736
1439526724
Python
Python3
py
Runtime Error
0
0
67
while True: (x,y) = [int(i) for i in input().split()] print(x, y)
Traceback (most recent call last): File "/tmp/tmpdhhdijxh/tmpvvg8qem2.py", line 2, in <module> (x,y) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s843213189
p02397
u605525736
1439526748
Python
Python3
py
Runtime Error
0
0
66
while True: (x,y) = [int(i) for i in input().split()] print(x, y)
Traceback (most recent call last): File "/tmp/tmp7i9b19vf/tmpr7xln7zw.py", line 2, in <module> (x,y) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s356841019
p02397
u745846646
1439772979
Python
Python3
py
Runtime Error
0
0
141
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/tmpfs03tkg0/tmpm3dhdn_f.py", line 3 ????????xy = sorted(map(int , line.split())) ^ IndentationError: expected an indented block after 'for' statement on line 2
s523501774
p02397
u306530296
1439774044
Python
Python3
py
Runtime Error
0
0
157
int main(){ int a,b; while(true){ scanf("%d %d",&a,&b); if((a==0)&&(b==0))break; if(a<=b) printf("%d %d\n",a,b); if(a>b) printf("%d %d\n",b,a); } return 0; }
File "/tmp/tmpgzhig8k1/tmp2iy1u_9s.py", line 1 int main(){ ^^^^ SyntaxError: invalid syntax
s941967040
p02397
u978086225
1439858389
Python
Python3
py
Runtime Error
0
0
133
(a, b, c) = [int(i) for i in input().split()] cnt = 0 for i in range(a, b + 1): if (c % 1) == 0: cnt = cnt + 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpdqwi024h/tmpuaqoy7gl.py", line 1, in <module> (a, b, c) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s435575025
p02397
u978086225
1439858507
Python
Python3
py
Runtime Error
0
0
133
(a, b, c) = [int(i) for i in input().split()] cnt = 0 for i in range(a, b + 1): if (c % i) == 0: cnt = cnt + 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpc74ch48d/tmpshrargr0.py", line 1, in <module> (a, b, c) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s959223309
p02397
u978086225
1439858626
Python
Python3
py
Runtime Error
0
0
133
(a, b, c) = [int(i) for i in input().split()] cnt = 0 for i in range(a, b + 1): if (c % i) == 0: cnt = cnt + 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmp95k8_zw2/tmpq42zcplq.py", line 1, in <module> (a, b, c) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s588417780
p02397
u978086225
1439858749
Python
Python3
py
Runtime Error
0
0
133
(a, b, c) = [int(i) for i in input().split()] cnt = 0 for i in range(a, b + 1): if (c % i) == 0: cnt = cnt + 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmp_a7fn58c/tmpnuvtceph.py", line 1, in <module> (a, b, c) = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s364949222
p02397
u676498528
1440639721
Python
Python3
py
Runtime Error
0
0
195
while True: (x, y) = [int(i) for i in sys.stdin.readline().split(' ')] if x == 0 and y == 0 break if x > y: z = x x = y y = z print(x, y)
File "/tmp/tmp2epv5vdh/tmplzxmfov_.py", line 3 if x == 0 and y == 0 ^ SyntaxError: expected ':'
s182530623
p02397
u224288634
1444130462
Python
Python
py
Runtime Error
0
0
150
while True : x,y = map(int,raw_input.split()) if x==0 and y==0 : break else : if a<b : print '%d %d' %(a,b) else : print '%d %d' %(b,a)
File "/tmp/tmpouxc2itw/tmpjjikucad.py", line 7 print '%d %d' %(a,b) ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s576271200
p02397
u224288634
1444130500
Python
Python
py
Runtime Error
0
0
150
while True : x,y = map(int,raw_input.split()) if x==0 and y==0 : break else : if x<y : print '%d %d' %(x,y) else : print '%d %d' %(y,x)
File "/tmp/tmp4hzxw2vl/tmptir6c312.py", line 7 print '%d %d' %(x,y) ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s293739318
p02397
u979909897
1444208162
Python
Python
py
Runtime Error
0
0
156
while True: x = raw_input().split(' ') if x[0] != '0' and x[1] != '0': temp = x[1] x[1] = x[0] x[0] = temp print `int(x[0])` + " " + `int(x[1])`
File "/tmp/tmpqzcrvz4_/tmpsym4dfed.py", line 10 print `int(x[0])` + " " + `int(x[1])` ^ SyntaxError: invalid syntax
s936284839
p02397
u979909897
1444398312
Python
Python
py
Runtime Error
0
0
176
import sys temp = sys.stdin.read() array = temp.split('\n') for x in array: y = x.split(' ') temp = y[0] y[0] = y[1] y[1] = temp print `int(y[0])` + " " + `int(y[1])`
File "/tmp/tmpneus0daa/tmpqckln1pk.py", line 12 print `int(y[0])` + " " + `int(y[1])` ^ SyntaxError: invalid syntax
s604976138
p02397
u979909897
1444398542
Python
Python
py
Runtime Error
0
0
219
import sys temp = sys.stdin.read() array = temp.split('\n') for x in array: y = x.split(' ') if int(y[0]) != 0 and int(y[1]) != 0: temp = y[0] y[0] = y[1] y[1] = temp print `int(y[0])` + " " + `int(y[1])`
File "/tmp/tmpf0qm2_oi/tmp1uszw6bi.py", line 13 print `int(y[0])` + " " + `int(y[1])` ^ SyntaxError: invalid syntax
s004535621
p02397
u828455902
1446329470
Python
Python
py
Runtime Error
0
0
73
while 1: x,y=map(int,raw_input().split()).sort if y==0:break print x,y
File "/tmp/tmpiufur_6w/tmpqh3sb7pu.py", line 4 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s233794677
p02397
u828455902
1446329509
Python
Python
py
Runtime Error
0
0
75
while 1: x,y=map(int,raw_input().split()).sort() if y==0:break print x,y
File "/tmp/tmpkrprakel/tmp_16gr3_z.py", line 4 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s380583080
p02397
u695952004
1447167462
Python
Python3
py
Runtime Error
0
0
131
while True: a, b = map(int, input().split()) if a < b: print(a, b) elif b <= a: print(b, a) elif a == 0 and b ==0: break;
Traceback (most recent call last): File "/tmp/tmpip4utzhk/tmpg3fhldj5.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s360279282
p02397
u695952004
1447167509
Python
Python3
py
Runtime Error
0
0
145
while True: a, b = map(int, input().split()) if a < b: print(a, b) elif b <= a: print(b, a) elif a == 0 and b ==0: print(a, b) break;
Traceback (most recent call last): File "/tmp/tmpow552rju/tmpkgfvmb5j.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s779249694
p02397
u982632052
1449234610
Python
Python
py
Runtime Error
0
0
155
while True: items = input().split(' ') if (items.count('0') == 2): break items_sorted = sorted(items) print(' '.join(items_sorted))
Traceback (most recent call last): File "/tmp/tmpsl5kbv7l/tmptcltt8kq.py", line 2, in <module> items = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s406019290
p02397
u297949443
1449929703
Python
Python
py
Runtime Error
0
0
180
import sys for i,ws in enumerate(sys.stdin,1): list = map(int, ws[:-1].split()) if list[0] == 0 and list[1] == 0: break print(' '.join(map(str,list.sort())))
s010235535
p02397
u022579771
1449929979
Python
Python3
py
Runtime Error
0
0
176
import sys ff = sys.stdin while True : a, b = map(int, ff.readline().split()) if (a == 0) & (b == 0) : break elif a < b : print(a, b) else : print(b, a)
File "/tmp/tmprnss3vqp/tmpc9q0s2pa.py", line 9 print(a, b) TabError: inconsistent use of tabs and spaces in indentation
s194182218
p02397
u022579771
1449930051
Python
Python3
py
Runtime Error
0
0
192
import sys ff = sys.stdin while True : a, b = map(int, ff.readline().split()) if (a == 0) & (b == 0) : break elif a < b : print(a, b) else : print(b, a)
File "/tmp/tmpk_a6odi6/tmppetxi19i.py", line 8 break ^ IndentationError: expected an indented block after 'if' statement on line 7
s923644268
p02397
u663227983
1452517164
Python
Python
py
Runtime Error
0
0
175
n = 10 i = 1 while x != 0 and y != 0: n = map(int,raw_input(),split()) x = n[0] y = n[1] if x == 0 and y == 0: break if x >= y: print y,x else print x,y i = i + 1
File "/tmp/tmp8qm2rkky/tmphgmkem64.py", line 10 print y,x ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s508642787
p02397
u663227983
1452518079
Python
Python
py
Runtime Error
0
0
174
x = 1 y = 1 while x != 0 or y != 0: n = map(int,raw_input().split()) x = n[0] y = n[1] if x == 0 and y == 0: break elif x <= y: print x,y elif x > y: print y,x1
File "/tmp/tmp95enalsf/tmpf1b8qhth.py", line 11 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s516209267
p02397
u663227983
1452518084
Python
Python
py
Runtime Error
0
0
174
x = 1 y = 1 while x != 0 or y != 0: n = map(int,raw_input().split()) x = n[0] y = n[1] if x == 0 and y == 0: break elif x <= y: print x,y elif x > y: print y,x1
File "/tmp/tmptsncots_/tmp5sqmeevz.py", line 11 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s405044687
p02397
u038005340
1453255549
Python
Python
py
Runtime Error
0
0
143
i = 1 while 1: x,y = map( int , raw_input().split() ) if (x,y) == (0,0) break change = x x = y y = change print "%d %d" %(x,y)
File "/tmp/tmpsmfoabf6/tmp1c6fe_31.py", line 4 if (x,y) == (0,0) ^ SyntaxError: expected ':'
s459298632
p02397
u038005340
1453255624
Python
Python
py
Runtime Error
0
0
146
i = 1 while 1: x,y = map( int , raw_input().split() ) if x == 0 and y == 0 break change = x x = y y = change print "%d %d" %(x,y)
File "/tmp/tmp9ziwr8hp/tmp6p_eq2ep.py", line 4 if x == 0 and y == 0 ^ SyntaxError: expected ':'