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
s951387863
p02397
u463783070
1458748204
Python
Python3
py
Runtime Error
0
0
113
x,y = map(int, input().split()) if x == 0 and y == 0: break elif x => y: print (y,x) else print (x,y)
File "/tmp/tmpf4jmvtu6/tmpyqi8uymv.py", line 4 elif x => y: ^ SyntaxError: invalid syntax
s588643431
p02397
u463783070
1458748689
Python
Python3
py
Runtime Error
0
0
153
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break elif x => y: print (y,x) else print (x,y)
File "/tmp/tmpcnobaa7h/tmpbs5mbiq9.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s717125652
p02397
u463783070
1458749081
Python
Python3
py
Runtime Error
0
0
154
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break elif x => y: print (y,x) else: print (x,y)
File "/tmp/tmpsq3u85kq/tmp0tmkcgja.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s132611703
p02397
u463783070
1458749125
Python
Python3
py
Runtime Error
0
0
156
while True: (x,y) = map(int, input().split()) if x == 0 and y == 0: break elif x => y: print (y,x) else: print (x,y)
File "/tmp/tmpub03mvia/tmpesh6j8e8.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s251142318
p02397
u463783070
1458749870
Python
Python3
py
Runtime Error
0
0
157
while True: x,y = map(int, input().split(' ')) if x == 0 and y == 0: break elif x => y: print (y,x) else: print (x,y)
File "/tmp/tmpt8gk9qwc/tmplm4qid7z.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s032842887
p02397
u463783070
1458750421
Python
Python3
py
Runtime Error
0
0
157
while True: x,y = map(int, input().split()) if x == 0 and y == 0: continue elif x => y: print (y,x) else: print (x,y)
File "/tmp/tmpi_kwyx9z/tmp12m1tnmz.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s361915017
p02397
u463783070
1458750627
Python
Python3
py
Runtime Error
0
0
152
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/tmpkncenpd8/tmp_fz68813.py", line 5 if x => y: ^ SyntaxError: invalid syntax
s431614135
p02397
u463783070
1458750738
Python
Python3
py
Runtime Error
0
0
155
while True: x,y = map(int, input().split()) if x == 0 and y == 0: continue if x => y: print (y,x) else: print (x,y)
File "/tmp/tmpb187wj2u/tmpkn4r23n9.py", line 5 if x => y: ^ SyntaxError: invalid syntax
s277733816
p02397
u463783070
1458750931
Python
Python3
py
Runtime Error
0
0
149
while True: x,y = map(int, input().split()) if x == y == 0: continue if x => y: print (y,x) else: print (x,y)
File "/tmp/tmpy7_f_aa2/tmpry9fehr_.py", line 5 if x => y: ^ SyntaxError: invalid syntax
s577377801
p02397
u463783070
1458751097
Python
Python3
py
Runtime Error
0
0
155
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break; elif x => y: print (y,x) else: print (x,y)
File "/tmp/tmpwl7fqxvq/tmplh66yl54.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s709350672
p02397
u463783070
1458751285
Python
Python3
py
Runtime Error
0
0
160
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break; elif x => y: print (y,x) elif x < y print (y,x)
File "/tmp/tmpidebzze3/tmp1fxzs00y.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s185596485
p02397
u463783070
1458751299
Python
Python3
py
Runtime Error
0
0
160
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break; elif x => y: print (y,x) elif x < y print (y,x)
File "/tmp/tmp1hcems3r/tmpwuazmdb4.py", line 5 elif x => y: ^ SyntaxError: invalid syntax
s897314305
p02397
u463783070
1458990914
Python
Python3
py
Runtime Error
0
0
160
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break; elif x <= y: print (x,y) else x > y print (y,x)
File "/tmp/tmpc8y5241s/tmp_68o2w4e.py", line 7 else x > y ^ SyntaxError: expected ':'
s266936334
p02397
u463783070
1458990955
Python
Python3
py
Runtime Error
0
0
159
while True: x,y = map(int, input().split()) if x == 0 and y == 0: break elif x <= y: print (x,y) else x > y print (y,x)
File "/tmp/tmpujz3u53q/tmpru_sdcuv.py", line 7 else x > y ^ SyntaxError: expected ':'
s539610457
p02397
u463783070
1458990987
Python
Python3
py
Runtime Error
0
0
163
while True: x,y = map(int, input().split()) if x == 0 and y == 0 : break elif x <= y : print (x,y) else x > y : print (y,x)
File "/tmp/tmp_kk5u5b9/tmp1imr85ka.py", line 7 else x > y : ^ SyntaxError: expected ':'
s164724024
p02397
u226888928
1460123705
Python
Python3
py
Runtime Error
0
0
93
while 1: a,b=map(int,input().split()) if(a==0 and b==0): break print(sorted[a,b])
Traceback (most recent call last): File "/tmp/tmpnufd23kr/tmp720l_ra4.py", line 2, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s199532730
p02397
u894381890
1460531705
Python
Python3
py
Runtime Error
0
0
255
d = 0 while d == 0: i = raw_input() x, y = i.split() x = int(x) y = int(y) if x != 0 and y != 0: if x > y: print("%d %d" %(y,x)) else: print("%d %d" %(x,y)) else: d = 2
Traceback (most recent call last): File "/tmp/tmpejo9n5e5/tmpag_2q5sz.py", line 4, in <module> i = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s683253722
p02397
u894381890
1460531717
Python
Python3
py
Runtime Error
0
0
255
d = 0 while d == 0: i = raw_input() x, y = i.split() x = int(x) y = int(y) if x != 0 and y != 0: if x > y: print("%d %d" %(y,x)) else: print("%d %d" %(x,y)) else: d = 2
Traceback (most recent call last): File "/tmp/tmp6iew5wua/tmpplb3ab72.py", line 4, in <module> i = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s097134873
p02397
u894381890
1460531741
Python
Python3
py
Runtime Error
0
0
255
d = 0 while d == 0: i = raw_input() x, y = i.split() x = int(x) y = int(y) if x != 0 and y != 0: if x > y: print("%d %d" %(y,x)) else: print("%d %d" %(x,y)) else: d = 2
Traceback (most recent call last): File "/tmp/tmp11qhuk1c/tmp7w_d_97l.py", line 4, in <module> i = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s898298628
p02397
u894381890
1460531866
Python
Python3
py
Runtime Error
0
0
261
d = 0 while d == 0: i = raw_input() x, y = i.split() x = int(x) y = int(y) if x == 0 and y == 0: d = 2 else: if x > y: tmp = y y = x x = tmp print("%d %d" %(x,y))
Traceback (most recent call last): File "/tmp/tmpumk5o_ct/tmpmkdlq9dx.py", line 4, in <module> i = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s850455606
p02397
u897625120
1463569508
Python
Python
py
Runtime Error
0
0
270
# coding:utf-8 # ??\??????????????´??°????°??????????????????? i = 1 x = 1 while x != 0 and y != 0: xy = raw_input().split() x = int(xy[0]) y = int(xy[1]) if x == 0 and y ==0: break if x < y : print x,y else: print y,x
File "/tmp/tmpwoax0ysz/tmp2qzphsqa.py", line 13 print x,y ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s619141176
p02397
u119456964
1465794042
Python
Python
py
Runtime Error
0
0
104
while 1: x = map(int, raw_input().split()) if x == 0: break x.sort() print x[0] + ' ' + x[1]
File "/tmp/tmpauxl8vsd/tmptucv__5p.py", line 6 print x[0] + ' ' + x[1] ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s929465125
p02397
u119456964
1465794626
Python
Python
py
Runtime Error
0
0
109
while 1: x = map(int, raw_input().split()) if x == 0: break x.sort() print "%d %d" % (x[0], x[1])
File "/tmp/tmpyi9iwzf2/tmpyintr3lp.py", line 6 print "%d %d" % (x[0], x[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s176834760
p02397
u565781955
1466592719
Python
Python3
py
Runtime Error
0
0
239
import sys def number(): while True: a,b = map(int(input().split())) if a == 0 and b == 0 : break if a < b: print (a, b) else: print (b,a) if __name__ == "__main__": number()
Traceback (most recent call last): File "/tmp/tmp7oqvy7gu/tmpulyyl46d.py", line 13, in <module> number() File "/tmp/tmp7oqvy7gu/tmpulyyl46d.py", line 4, in number a,b = map(int(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s668978193
p02397
u204883389
1469598207
Python
Python3
py
Runtime Error
0
0
213
def main(): while True: xy = [int(v) for v in raw_input().split()] if sum(xy) == 0: break print " ".join([str(v) for v in sorted(xy)]) if __name__ == '__main__': main()
File "/tmp/tmpe6vn5tny/tmpkrtkv8_a.py", line 6 print " ".join([str(v) for v in sorted(xy)]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s476470428
p02397
u757827098
1469598417
Python
Python3
py
Runtime Error
0
0
177
count =1 while True: a,b =int(input()) if a !=0 and b != 0 and a < b: a,b = a,b if a !=0 and b != 0 and b < a: a, b =b,a else: break
Traceback (most recent call last): File "/tmp/tmpejos8vwd/tmp1ba0olbg.py", line 4, in <module> a,b =int(input()) ^^^^^^^ EOFError: EOF when reading a line
s003673456
p02397
u498041957
1469598515
Python
Python3
py
Runtime Error
0
0
179
while True: (x, y) = [int(i) for i in sys.stdin.readline().split()] if x == 0 == y: break if x > y: z = x x = y y = z print(x, y)
Traceback (most recent call last): File "/tmp/tmp3r2lj068/tmpjx2d3dsj.py", line 2, in <module> (x, y) = [int(i) for i in sys.stdin.readline().split()] ^^^ NameError: name 'sys' is not defined
s065655910
p02397
u587193722
1469599383
Python
Python3
py
Runtime Error
0
0
145
while True: x, y = [int(i) for i in input().split()] if x > y: print(y ,x) else: print(x,y)
Traceback (most recent call last): File "/tmp/tmpyrpzdwe8/tmpekhhy61g.py", line 2, in <module> x, y = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s220236963
p02397
u264632995
1469599731
Python
Python3
py
Runtime Error
0
0
116
a, b = [int(i) for i in input(),split()] d = a // b r = a % b f = a / b print("{0} {1} {2:.5f}".format(d, r, f))
File "/tmp/tmp22tribvb/tmpimxhodi6.py", line 1 a, b = [int(i) for i in input(),split()] ^ SyntaxError: invalid syntax
s055766987
p02397
u264632995
1469599816
Python
Python3
py
Runtime Error
0
0
116
a, b = [int(i) for i in input(),split()] d = a // b r = a % b f = a / b print("{0} {1} {2:.5f}".format(d, r, f))
File "/tmp/tmp2pnvykl1/tmp3cxqop8m.py", line 1 a, b = [int(i) for i in input(),split()] ^ SyntaxError: invalid syntax
s647661842
p02397
u216425054
1470716805
Python
Python3
py
Runtime Error
0
0
167
a=[] while True: if [0,0]=[int(x) for x in input().split()]: break else: [a,b]=sorted([int(x) for x in input().split()]) print("a b c")
File "/tmp/tmpvronpw1w/tmphf88qq6p.py", line 3 if [0,0]=[int(x) for x in input().split()]: ^ SyntaxError: invalid syntax
s315476302
p02397
u216425054
1470717511
Python
Python3
py
Runtime Error
0
0
159
while True: if any([int(x) for x in input().split()]): [a,b]=sorted([int(x) for x in input().split()]) print("a b") else: break
Traceback (most recent call last): File "/tmp/tmpi1ywr5a7/tmp11aed1nt.py", line 2, in <module> if any([int(x) for x in input().split()]): ^^^^^^^ EOFError: EOF when reading a line
s366479396
p02397
u589886885
1471439397
Python
Python3
py
Runtime Error
0
0
206
import sys n = sys.stdin.readlines() for i in n: a, b = [int(x) for x in i.split()] if a == 0 and b == 0: break if a > b: print(a + ' ' + b) else: print(b + ' ' + a)
s958648004
p02397
u494314211
1475348810
Python
Python3
py
Runtime Error
0
0
160
a = [] while True: b = list(map(int,input().split())) if b[0] == "0" and b[1]=="0": break a.append(b.sort()) for i in a: print(i[0],i[1])
Traceback (most recent call last): File "/tmp/tmpooi1xb4l/tmpmn49a2om.py", line 3, in <module> b = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s017699061
p02397
u494314211
1475349154
Python
Python3
py
Runtime Error
0
0
148
a = [] while True: b = list(map(int,input().split())) if b[0] == "0" and b[1]=="0": break b.sort() a.append(b) for i in a: print(i[0],i[1])
Traceback (most recent call last): File "/tmp/tmp5tbrwpj6/tmpt54_vmtf.py", line 3, in <module> b = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s203270742
p02397
u996758922
1477004692
Python
Python3
py
Runtime Error
0
0
185
while True: case=input().split() int(case[0]) int(case[1]) if case[0]==0 and case[1]==0: break else: case.sort() print(case[0],case[1])
Traceback (most recent call last): File "/tmp/tmpz08mq9y3/tmps6e3rkxf.py", line 2, in <module> case=input().split() ^^^^^^^ EOFError: EOF when reading a line
s845585570
p02397
u236295012
1477663122
Python
Python
py
Runtime Error
0
0
180
while True: x = input().split() x_int = [int(i) for i in x] if x_int[0] == 0 and x_int[1] == 0: break else: print('{} {}'.format(x_int[1],x_int[0]))
Traceback (most recent call last): File "/tmp/tmprjlkjvrx/tmp34l74b7r.py", line 2, in <module> x = input().split() ^^^^^^^ EOFError: EOF when reading a line
s847726551
p02397
u922871577
1479270914
Python
Python
py
Runtime Error
0
0
61
a, b = map(int, raw_input().split()) print min(a.b), max(a,b)
File "/tmp/tmpn_7dt_as/tmpcp81e1n7.py", line 2 print min(a.b), max(a,b) ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s971657129
p02397
u326248180
1479370626
Python
Python3
py
Runtime Error
0
0
193
import sys while(True): x, y = map(int(sys.stdin.readline())) if x == 0 and y == 0: break if x < y: print("%d %d" % (x, y)) else: print("%d %d" % (y, x))
Traceback (most recent call last): File "/tmp/tmpssd9icw6/tmp97tp0kge.py", line 3, in <module> x, y = map(int(sys.stdin.readline())) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s978489575
p02397
u742376116
1479371060
Python
Python
py
Runtime Error
0
0
137
While True: a, b = map(int, raw_input().split(' ')) if a == 0 and b == 0: break if a < b: print a, b else: print b, a
File "/tmp/tmpp7wyou17/tmpdmtxmf55.py", line 1 While True: ^^^^ SyntaxError: invalid syntax
s050110202
p02397
u742376116
1479371179
Python
Python3
py
Runtime Error
0
0
137
While True: a, b = map(int, raw_input().split(' ')) if a == 0 and b == 0: break if a < b: print a, b else: print b, a
File "/tmp/tmpdwioqr4d/tmph83bskyy.py", line 1 While True: ^^^^ SyntaxError: invalid syntax
s329697490
p02397
u106285852
1480261134
Python
Python3
py
Runtime Error
0
0
1249
''' ITP-1_3-C 2 ????????°????????? ???????????´??° x, y ?????????????????????????????????????°?????????????????????????????????°????????????????????????????????? ?????????????????????????????\?????????????????????????????????????????????????????????????????????????????¨?????¨????????????????????? ???Input ??\?????????...
File "/tmp/tmp8oft769w/tmpt82vs_re.py", line 32 print((outputData01),(outputData02))) ^ SyntaxError: unmatched ')'
s846644798
p02397
u302561071
1480415074
Python
Python
py
Runtime Error
0
0
172
data = input().split() a = int(data[0]) b = int(data[1]) while(a != 0 and b != 0): print(str(b) + " " + str(a)) data = input().split() a = int(data[0]) b = int(data[1])
Traceback (most recent call last): File "/tmp/tmpyzzms_84/tmpcieof_gd.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s026659909
p02397
u302561071
1480415186
Python
Python
py
Runtime Error
0
0
215
data = input().split() a = int(data[0]) b = int(data[1]) while(a != 0 and b != 0): if a > b: temp = a a = b b = temp print(str(b) + " " + str(a)) data = input().split() a = int(data[0]) b = int(data[1])
Traceback (most recent call last): File "/tmp/tmptztc80ny/tmpvuueo96h.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s344274803
p02397
u302561071
1480415338
Python
Python
py
Runtime Error
0
0
214
data = input().split() a = int(data[0]) b = int(data[1]) while(a != 0 or b != 0): if a > b: temp = a a = b b = temp print(str(a) + " " + str(b)) data = input().split() a = int(data[0]) b = int(data[1])
Traceback (most recent call last): File "/tmp/tmpsml0eyj3/tmpnabkn42u.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s481648877
p02397
u556014061
1481415743
Python
Python3
py
Runtime Error
0
0
82
x =int(input()) y = int(input()) if x > y: print(x, y) else: print(y, x)
Traceback (most recent call last): File "/tmp/tmpsgc8pj_4/tmpbtd9sfeu.py", line 1, in <module> x =int(input()) ^^^^^^^ EOFError: EOF when reading a line
s372056140
p02397
u234837959
1481940489
Python
Python3
py
Runtime Error
0
0
385
import sys #f = open('sample.txt', 'r') list_line = sys.stdin.readlines() for index, element in enumerate(list_line): list_line[index] = element.rstrip('\n') for element in list_line: if int(element[0]) == 0 and int(element[2]) == 0: sys.exit() if(int(element[0]) > int(element[2])): prin...
s641725922
p02397
u234837959
1481940633
Python
Python3
py
Runtime Error
0
0
356
import sys list_line = sys.stdin.readlines() for index, element in enumerate(list_line): list_line[index] = element.rstrip('\n') for element in list_line: if int(element[0]) == 0 and int(element[2]) == 0: sys.exit() if(int(element[0]) > int(element[2])): print(element[2] + " " + element[...
s561244929
p02397
u156024720
1482639734
Python
Python3
py
Runtime Error
0
0
309
dataset = [] while True: x = int(input()) if not(x >= 1 and x <= 10000): break elif len(dataset) >= 10000: break elif x is not 0: dataset.append(x) else: break for index, number in enumerate(dataset): print("Case {0}: {1}".format(index+1, str(number)))
/tmp/tmpfzttcl07/tmpi7ukws37.py:8: SyntaxWarning: "is not" with a literal. Did you mean "!="? elif x is not 0: Traceback (most recent call last): File "/tmp/tmpfzttcl07/tmpi7ukws37.py", line 3, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s586411429
p02397
u019678978
1482923665
Python
Python3
py
Runtime Error
0
0
217
import sys c = 1 for i in sys.stdin.readlines() : l = list(int, i.split()) a = l[0] b = l[1] if a == 0 and b == 0 : break else : sorted(l) print(l[0],l[1]) c = c + 1
s592326950
p02397
u019678978
1482923713
Python
Python3
py
Runtime Error
0
0
193
import sys for i in sys.stdin.readlines() : l = list(int, i.split()) a = l[0] b = l[1] if a == 0 and b == 0 : break else : sorted(l) print(l[0],l[1])
s181720126
p02397
u019678978
1482923773
Python
Python3
py
Runtime Error
0
0
196
import sys for i in sys.stdin.readlines() : l = list(int, i.split(" ")) a = l[0] b = l[1] if a == 0 and b == 0 : break else : sorted(l) print(l[0],l[1])
s353821114
p02397
u019678978
1482925293
Python
Python3
py
Runtime Error
0
0
190
import sys for i in sys.stdin.readlines() : l = i.split() a = l[0] b = l[1] if a == 0 and b == 0 : break elif a > b print(b,a) else print(a,b)
File "/tmp/tmps8x_v50m/tmpyr2e7c7f.py", line 8 elif a > b ^ SyntaxError: expected ':'
s247898108
p02397
u019678978
1482925893
Python
Python3
py
Runtime Error
0
0
187
import sys while True : ab = sys.stdin.readline().split() a = ab[0] b = ab[1] if a == 0 and b == 0 : break else : sorted(ab) print(ab[0],ab[1])
Traceback (most recent call last): File "/tmp/tmpkmvn7jcl/tmpw185_7l9.py", line 4, in <module> a = ab[0] ~~^^^ IndexError: list index out of range
s303636970
p02397
u019678978
1482925965
Python
Python3
py
Runtime Error
0
0
202
import sys while True : ab = sys.stdin.readline().split() a = ab[0] b = ab[1] if a == 0 and b == 0 : break else : #sorted(ab) #print(ab[0],ab[1]) pass
Traceback (most recent call last): File "/tmp/tmp6h5zfpu5/tmpy_m2fwzw.py", line 4, in <module> a = ab[0] ~~^^^ IndexError: list index out of range
s829748559
p02397
u019678978
1482925975
Python
Python3
py
Runtime Error
0
0
130
import sys while True : ab = sys.stdin.readline().split() a = ab[0] b = ab[1] if a == 0 and b == 0 : break
Traceback (most recent call last): File "/tmp/tmppgyewv47/tmpc_fw4nmj.py", line 4, in <module> a = ab[0] ~~^^^ IndexError: list index out of range
s078459619
p02397
u019678978
1482925989
Python
Python3
py
Runtime Error
0
0
140
import sys while True : ab = list(int,sys.stdin.readline().split()) a = ab[0] b = ab[1] if a == 0 and b == 0 : break
Traceback (most recent call last): File "/tmp/tmp_r_65xqr/tmpzxoa1hwu.py", line 3, in <module> ab = list(int,sys.stdin.readline().split()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: list expected at most 1 argument, got 2
s777985705
p02397
u019678978
1482926099
Python
Python3
py
Runtime Error
0
0
214
import sys while True : ab = sys.stdin.readline().split() a = ab[0].strip b = ab[1].strip if a == 0 and b == 0 : break else : #sorted(ab) #print(ab[0],ab[1]) pass
Traceback (most recent call last): File "/tmp/tmpqr7_ua5k/tmp520v_m8e.py", line 4, in <module> a = ab[0].strip ~~^^^ IndexError: list index out of range
s551538217
p02397
u019678978
1482926126
Python
Python3
py
Runtime Error
0
0
142
import sys while True : ab = sys.stdin.readline().split() a = ab[0].strip b = ab[1].strip if a == 0 and b == 0 : break
Traceback (most recent call last): File "/tmp/tmpzdhwf0fx/tmp1ct6a91f.py", line 4, in <module> a = ab[0].strip ~~^^^ IndexError: list index out of range
s016574380
p02397
u313089641
1483203186
Python
Python3
py
Runtime Error
0
0
207
num = [] while True: n = input() a, b = [int(x) for x in n.split()] if a == 0 and b == 0: break num.append([a, b]) for ls in num: ls.sort() print('{} {}'.format(ls[0], ls[1])
File "/tmp/tmp1lotz9dw/tmp2gcp09ig.py", line 11 print('{} {}'.format(ls[0], ls[1]) ^ SyntaxError: '(' was never closed
s036022156
p02397
u313089641
1483203221
Python
Python3
py
Runtime Error
0
0
207
num = [] while True: n = input() a, b = [int(x) for x in n.split()] if a == 0 and b == 0: break num.append([a, b]) for ls in num: ls.sort() print('{} {}'.format(ls[0], ls[1])
File "/tmp/tmpn63_la67/tmpqm_hbhmu.py", line 11 print('{} {}'.format(ls[0], ls[1]) ^ SyntaxError: '(' was never closed
s295593348
p02397
u547492399
1483501728
Python
Python3
py
Runtime Error
0
0
125
import sys for line in sys.stdin: a, b = int(line.split()) if(a <= b) print(a,b) else print(b,a)
File "/tmp/tmpm2md287j/tmply22_nin.py", line 5 if(a <= b) ^ SyntaxError: expected ':'
s973347388
p02397
u159126725
1484282281
Python
Python
py
Runtime Error
0
0
174
while 1: x, y = map(int, raw_input().split()) if x and y == '0': break if x <= y : print '%s %s' % (x, y) else: print '%s %s' % (y, x)
File "/tmp/tmpit_kfh2l/tmpp_8dsy8d.py", line 6 print '%s %s' % (x, y) ^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s775936632
p02397
u276050131
1484789408
Python
Python3
py
Runtime Error
0
0
193
x,y = input().split() x = int(x) y = int(y) i = 0 if x == 0 asd y == 0: if x > y: i = x x = y y = i fmt = "{a} {b}" s = fmt.format(a = x,b = y) print(s)
File "/tmp/tmpdl97ltvh/tmps0lm07cb.py", line 5 if x == 0 asd y == 0: ^^^ SyntaxError: invalid syntax
s562601809
p02397
u227438830
1487040355
Python
Python3
py
Runtime Error
0
0
171
while True: a,b = input().split() if a == 0 and b == 0: break if int(a) > int(b): print ( b + " " + a ) else: print ( a + " " + b )
Traceback (most recent call last): File "/tmp/tmphaq6bxuy/tmp076l29so.py", line 2, in <module> a,b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s684678151
p02397
u553058997
1487755451
Python
Python3
py
Runtime Error
0
0
118
while: a = list(map(int, input().split())) if sum(a) == 0: break print(' '.join.(list(map(str, sorted(a)))))
File "/tmp/tmpsri0jymt/tmp_z3qd4bl.py", line 1 while: ^ SyntaxError: invalid syntax
s442103078
p02397
u553058997
1487755531
Python
Python3
py
Runtime Error
0
0
118
while: a = list(map(int, input().split())) if sum(a) == 0: break print(' '.join.(list(map(str, sorted(a)))))
File "/tmp/tmpn9w6ib7m/tmpxjsqncxl.py", line 1 while: ^ SyntaxError: invalid syntax
s992981091
p02397
u553058997
1487756391
Python
Python3
py
Runtime Error
0
0
118
while: a = list(map(int, input().split())) if sum(a) == 0: break print(' '.join.(list(map(str, sorted(a)))))
File "/tmp/tmpip0zu5o4/tmps9ql104y.py", line 1 while: ^ SyntaxError: invalid syntax
s555626393
p02397
u553058997
1487756417
Python
Python3
py
Runtime Error
0
0
123
while True: a = list(map(int, input().split())) if sum(a) == 0: break print(' '.join.(list(map(str, sorted(a)))))
File "/tmp/tmpx7d_sfgj/tmpwkim469u.py", line 5 print(' '.join.(list(map(str, sorted(a))))) ^ SyntaxError: invalid syntax
s774497909
p02397
u130834228
1488773800
Python
Python
py
Runtime Error
0
0
100
while(1): a, b = map(int, input().split()) if a == 0 and b == 0: break print (str(a)+" "str(b))
File "/tmp/tmptnncaomg/tmp_rhu666v.py", line 5 print (str(a)+" "str(b)) ^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s056177401
p02397
u130834228
1488773837
Python
Python
py
Runtime Error
0
0
101
while(1): a, b = map(int, input().split()) if a == 0 and b == 0: break print (str(a)+" "+str(b))
Traceback (most recent call last): File "/tmp/tmpu5i9h0gi/tmp2df8t73o.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s077524221
p02397
u130834228
1488773941
Python
Python
py
Runtime Error
0
0
124
while(1): a, b = map(int, input().split()) if a == 0 and b == 0: break if a>b: a, b = b, a print (str(a)+" "+str(b))
Traceback (most recent call last): File "/tmp/tmpk3zqz9l1/tmpj6fklt4c.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s897631263
p02397
u072398496
1489803486
Python
Python
py
Runtime Error
0
0
57
a,b=map(int,raw_input().split()) while a,b!=0,0 print b,a
File "/tmp/tmp41tfmyan/tmp5dlbz2tm.py", line 2 while a,b!=0,0 ^ SyntaxError: invalid syntax
s356871151
p02397
u382692819
1491293541
Python
Python3
py
Runtime Error
0
0
92
a = [] i = 0 while True: n = input() n.sort() print("{0} {1}".format(n[0],n[1]))
Traceback (most recent call last): File "/tmp/tmpp01adabb/tmpjj76gwhg.py", line 4, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s999892482
p02397
u382692819
1491293802
Python
Python3
py
Runtime Error
0
0
100
a = [] i = 0 while True: n = input().split() n.sort() print("{0} {1}".format(n[0],n[1]))
Traceback (most recent call last): File "/tmp/tmpln9zo7uo/tmpdi203f4t.py", line 4, in <module> n = input().split() ^^^^^^^ EOFError: EOF when reading a line
s186266655
p02397
u213265973
1494248765
Python
Python3
py
Runtime Error
0
0
238
while True: a = [int(i) for i in input().split(" ")] num1 = a[0] num2 = a[1] if num1 <= num2: print(num1,num2) elif num1 > num2: print(num2,num1) elif num1 == 0 and num2 == 0: break
Traceback (most recent call last): File "/tmp/tmpj7vewxao/tmp54n530wr.py", line 2, in <module> a = [int(i) for i in input().split(" ")] ^^^^^^^ EOFError: EOF when reading a line
s901756465
p02397
u213265973
1494248782
Python
Python3
py
Runtime Error
0
0
238
while True: a = [int(i) for i in input().split(" ")] num1 = a[0] num2 = a[1] if num1 <= num2: print(num1,num2) elif num1 > num2: print(num2,num1) elif num1 == 0 and num2 == 0: break
Traceback (most recent call last): File "/tmp/tmpssgb_4xc/tmp331eavj1.py", line 2, in <module> a = [int(i) for i in input().split(" ")] ^^^^^^^ EOFError: EOF when reading a line
s963585283
p02397
u213265973
1494248864
Python
Python3
py
Runtime Error
0
0
221
while True: a = [int(i) for i in input().split(" ")] num1 = a[0] num2 = a[1] if num1 == 0 and num2 == 0: elif num1 <= num2: print(num1,num2) elif num1 > num2: print(num2,num1)
File "/tmp/tmpezzepjof/tmpifig0eq2.py", line 6 elif num1 <= num2: ^ IndentationError: expected an indented block after 'if' statement on line 5
s695724527
p02397
u213265973
1494248867
Python
Python3
py
Runtime Error
0
0
221
while True: a = [int(i) for i in input().split(" ")] num1 = a[0] num2 = a[1] if num1 == 0 and num2 == 0: elif num1 <= num2: print(num1,num2) elif num1 > num2: print(num2,num1)
File "/tmp/tmpbc4ybgqu/tmpobqsismm.py", line 6 elif num1 <= num2: ^ IndentationError: expected an indented block after 'if' statement on line 5
s870365082
p02397
u467175809
1495312632
Python
Python
py
Runtime Error
0
0
153
while(True): poyo = map(int, raw_input().split()) if poyo[0] == 0 and poyo[1] == 0: break poyo.sort() print poyo[0], poyo[1]
File "/tmp/tmp39gm_yha/tmp0dvcciol.py", line 1 while(True): IndentationError: unexpected indent
s789956694
p02397
u650790815
1495678231
Python
Python3
py
Runtime Error
0
0
140
import sys while 1: a,b = sys.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/tmpf3p031km/tmptgdywpno.py", line 3, in <module> a,b = sys.stdin.readline().split() ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s447805700
p02397
u714141025
1495690386
Python
Python3
py
Runtime Error
0
0
137
import sys for x,y in enumerate(map(int, sys.stdin)) if x==0 and y==0 : sys.exist() elif x<y : print(x,y) elif x>y : print(y,x)
File "/tmp/tmpbjn1217n/tmpxtrg_ag7.py", line 3 for x,y in enumerate(map(int, sys.stdin)) ^ SyntaxError: expected ':'
s112630521
p02397
u714141025
1495690435
Python
Python3
py
Runtime Error
0
0
137
import sys for x,y in enumerate(map(int, sys.stdin)) if x==0 and y==0 : sys.exist() elif x<y : print(x,y) elif x>y : print(y,x)
File "/tmp/tmpt5mrgsp3/tmpbqe178dp.py", line 3 for x,y in enumerate(map(int, sys.stdin)) ^ SyntaxError: expected ':'
s547780116
p02397
u714141025
1495693514
Python
Python3
py
Runtime Error
0
0
184
import sys while(True): x,y = map(int, sys.stdin.readline().split()) if x==0 and y==0 : sys.exist() elif x<y : print(x,y) elif x>y : print(y,x)
Traceback (most recent call last): File "/tmp/tmpv86pzb9h/tmprzkxthf_.py", line 4, in <module> x,y = map(int, sys.stdin.readline().split()) ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s343691515
p02397
u675844759
1496816158
Python
Python3
py
Runtime Error
0
0
118
import sys while 1: str = sys.stdin.readline().strip() if str=="0 0": break print(int(str.split(" ")).sort)
Traceback (most recent call last): File "/tmp/tmpc8gjy1uk/tmprxdwq6kn.py", line 7, in <module> print(int(str.split(" ")).sort) ^^^^^^^^^^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
s244642899
p02397
u675844759
1496816200
Python
Python3
py
Runtime Error
0
0
122
import sys while 1: str = sys.stdin.readline().strip() if str=="0 0": break print(map(int,str.split(" ")).sort)
Traceback (most recent call last): File "/tmp/tmp4cpqrjlv/tmptjsltm1r.py", line 7, in <module> print(map(int,str.split(" ")).sort) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'map' object has no attribute 'sort'
s240161440
p02397
u675844759
1496816678
Python
Python3
py
Runtime Error
0
0
131
import sys while 1: str = sys.stdin.readline() if str=="0 0": break a , b = sorted(str.split(" "), key=int) print(a,b)
Traceback (most recent call last): File "/tmp/tmp_te3nwn9/tmp637x0w7e.py", line 7, in <module> a , b = sorted(str.split(" "), key=int) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s828511821
p02397
u675844759
1496816714
Python
Python3
py
Runtime Error
0
0
139
import sys while 1: str = sys.stdin.readline().strip() a , b = sorted(str.split(" "), key=int) if a , b == 0: break print(a,b)
File "/tmp/tmpmxdjrbf_/tmp0j5vgxc2.py", line 6 if a , b == 0: ^ SyntaxError: invalid syntax
s831021697
p02397
u675844759
1496816746
Python
Python3
py
Runtime Error
0
0
140
import sys while 1: str = sys.stdin.readline().strip() a , b = sorted(str.split(" "), key=int) if a, b == "0": break print(a,b)
File "/tmp/tmpwg31uuz2/tmpla956kra.py", line 6 if a, b == "0": ^ SyntaxError: invalid syntax
s744777320
p02397
u675844759
1496817209
Python
Python3
py
Runtime Error
0
0
147
import sys while 1: a , b = map(int,sys.stdin.readline().split()) if a == b == 0: break elif a > b : print(b,a) else : print(a,b)
File "/tmp/tmpq1glg5q6/tmpomudbl43.py", line 10 print(a,b) TabError: inconsistent use of tabs and spaces in indentation
s722542006
p02397
u675844759
1496817256
Python
Python3
py
Runtime Error
0
0
149
import sys while 1: a , b = map(int(),sys.stdin.readline().split()) if a == b == 0: break elif a > b : print(b,a) else : print(a,b)
File "/tmp/tmpic9w883a/tmpnx5ktxpy.py", line 10 print(a,b) TabError: inconsistent use of tabs and spaces in indentation
s889345060
p02397
u675844759
1496817272
Python
Python3
py
Runtime Error
0
0
152
import sys while 1: a , b = map(int,sys.stdin.readline().split()) #if a == b == 0: break #elif a > b : # print(b,a) #else : # print(a,b)
File "/tmp/tmpyjo8urs2/tmp4c0iqilm.py", line 6 break IndentationError: unexpected indent
s815953298
p02397
u675844759
1496817615
Python
Python3
py
Runtime Error
0
0
153
import sys while 1: a , b = map(int, sys.stdin.readline().split()) #if a == b == 0: break #elif a > b : # print(b,a) #else : # print(a,b)
File "/tmp/tmphgkku2qb/tmphqeeqh5g.py", line 6 break IndentationError: unexpected indent
s994549341
p02397
u675844759
1496817631
Python
Python3
py
Runtime Error
0
0
69
import sys while 1: a , b = map(int, sys.stdin.readline().split())
Traceback (most recent call last): File "/tmp/tmp2r76knmf/tmpm3kftbfn.py", line 4, in <module> a , b = map(int, sys.stdin.readline().split()) ^^^^^ ValueError: not enough values to unpack (expected 2, got 0)
s258302646
p02397
u675844759
1496817667
Python
Python3
py
Runtime Error
0
0
95
import sys while 1: a , b = map(int, sys.stdin.readline().split()) if a == b == 0: break
File "/tmp/tmpep896gyx/tmps_xjbznu.py", line 6 break ^ IndentationError: expected an indented block after 'if' statement on line 5
s192571589
p02397
u193453446
1497327885
Python
Python3
py
Runtime Error
0
0
265
# -*- coding: utf-8 -*- for c in range(3000): l = input().strip().split() x = int(l[0]) y = int(l[1]) if(x < 1 and y < 0): break elif(x > y): print("Case {0}: {1}".format(y,x)) else: print("Case {0}: {1}".format(x,y))
Traceback (most recent call last): File "/tmp/tmpttzilay5/tmpdtjpqgoi.py", line 3, in <module> l = input().strip().split() ^^^^^^^ EOFError: EOF when reading a line
s194913869
p02397
u050103511
1498031667
Python
Python3
py
Runtime Error
0
0
205
inport sys for i in sys.stdin: a,b = map(int,i.split()) if a == 0 and b == 0: break; if a < b: print(a,b) else: print(b,a)
File "/tmp/tmpy9w2rrdf/tmp7r8huyfd.py", line 1 inport sys ^^^ SyntaxError: invalid syntax
s189772268
p02397
u050103511
1498031805
Python
Python3
py
Runtime Error
0
0
216
inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if a == 0 and b == 0: break; if a < b: print(a,b) else: print(b,a)
File "/tmp/tmpoxebs5v1/tmpwpa2exge.py", line 1 inport sys ^^^ SyntaxError: invalid syntax
s401095103
p02397
u050103511
1498031829
Python
Python3
py
Runtime Error
0
0
220
inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if a == "0" and b == "0": break; if a < b: print(a,b) else: print(b,a)
File "/tmp/tmpnwl5eo69/tmptatjeygg.py", line 1 inport sys ^^^ SyntaxError: invalid syntax
s415294618
p02397
u050103511
1498031945
Python
Python3
py
Runtime Error
0
0
228
inport sys for i in sys.stdin.readlines(): a,b = i.strip().split() if a == "0" and b == "0": break; if a < b: print(a+" "+b) else: print(b+" "+a)
File "/tmp/tmpeb7w15kh/tmpg9ny1wod.py", line 1 inport sys ^^^ SyntaxError: invalid syntax