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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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]) |
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
|
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
|
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
|
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))
|
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 |
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] |
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]) |
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() |
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() |
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 |
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) |
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)
|
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)) |
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)) |
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") |
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 |
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]) |
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]) |
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]) |
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])) |
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) |
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)) |
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 |
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 |
s329697490 | p02397 | u106285852 | 1480261134 | Python | Python3 | py | Runtime Error | 0 | 0 | 1249 | '''
ITP-1_3-C
2 ????????°?????????
???????????´??° x, y ?????????????????????????????????????°?????????????????????????????????°?????????????????????????????????
?????????????????????????????\?????????????????????????????????????????????????????????????????????????????¨?????¨?????????????????????
???Input
??\???????????°????????????????????????????§?????????????????????????????????????????????????????????§??????????????????????????´??° x, y ?????????
?????????????§?????????????????????????
???Output
??????????????????????????¨??????x ??¨ y ????°????????????????????????????????????????????????????????????????x ??¨ y ????????????????????????????????\??????????????????
'''
# import
import sys
# input???????????????
for inputData in sys.stdin:
inputData = inputData.split(" ")
inputData01, inputData02 = int(inputData[0]), int(inputData[1])
# 0?????´??? ????????????
if inputData01 == 0:
if inputData02 == 0:
break
if inputData01 > inputData02:
outputData01 = inputData02
outputData02 = inputData01
elif inputData01 < inputData02:
outputData01 = inputData01
outputData02 = inputData02
# ????????????
print((outputData01),(outputData02))) |
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]) |
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])
|
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])
|
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) |
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])):
print(element[2] + " " + element[0])
else:
print(element) |
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[0])
else:
print(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))) |
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) |
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]) |
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 |
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 |
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 |
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 |
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 |
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]) |
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]) |
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) |
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) |
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) |
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 ) |
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))))) |
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))))) |
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))))) |
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))))) |
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)) |
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)) |
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)) |
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 |
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])) |
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])) |
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
|
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
|
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)
|
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)
|
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] |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
s994549341 | p02397 | u675844759 | 1496817631 | Python | Python3 | py | Runtime Error | 0 | 0 | 69 | import sys
while 1:
a , b = map(int, sys.stdin.readline().split()) |
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 |
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)) |
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) |
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) |
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) |
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) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.