s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
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))
|
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))
|
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))
|
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))
|
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))
|
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) |
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) |
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])) |
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]) |
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]) |
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)) |
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) |
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)) |
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)) |
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)) |
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) |
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) |
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) |
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 |
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) |
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) |
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) |
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) |
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 |
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 |
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) |
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 |
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 |
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]) |
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]) |
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]) ) |
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) |
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) |
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) |
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) |
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) |
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) |
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)) |
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)) |
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 |
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 |
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 |
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
|
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
|
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]
|
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]
|
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) |
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) |
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) |
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) |
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) |
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 |
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 |
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 |
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 |
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
|
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
|
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
|
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) |
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]) |
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())) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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()) |
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()) |
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()) |
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)) |
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)) |
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]) |
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])) |
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])) |
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) |
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) |
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])) |
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])) |
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) |
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) |
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) |
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)) |
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)) |
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])) |
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) |
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) |
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) |
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) |
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) |
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) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.