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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s183849246 | p02397 | u038005340 | 1453255649 | Python | Python | py | Runtime Error | 0 | 0 | 140 | 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) |
s069032928 | p02397 | u038005340 | 1453255715 | Python | Python | py | Runtime Error | 0 | 0 | 136 | while 1:
x,y = map( int , raw_input().split() )
if x == 0 and y == 0
break
temp = x
x = y
y = temp
print "%d %d" %(x,y) |
s958251978 | p02397 | u038005340 | 1453255825 | Python | Python | py | Runtime Error | 0 | 0 | 198 | while 1:
x,y = map( int , raw_input().split() )
if x == 0 and y == 0
break
elif x < y
print "%d %d" %(x,y)
elif y < x
temp = x
x = y
y = temp
print "%d %d" %(x,y) |
s668686053 | p02397 | u038005340 | 1453255840 | Python | Python | py | Runtime Error | 0 | 0 | 162 | while 1:
x,y = map( int , raw_input().split() )
if x == 0 and y == 0
break
elif x < y
print "%d %d" %(x,y)
elif y < x
print "%d %d" %(y,x) |
s644755201 | p02397 | u393769849 | 1453256554 | Python | Python | py | Runtime Error | 0 | 0 | 142 | x, y = map(int, raw_input.split())
while True:
if x < y:
print 'x, y'
if x > y :
print 'y, x'
if x == y == 0:
break
|
s074470989 | p02397 | u393769849 | 1453256628 | Python | Python | py | Runtime Error | 0 | 0 | 172 | x, y = map(int, raw_input.split())
while True:
if x < y:
print 'x y'
if x > y :
print 'y x'
elif x == y:
print 'x y'
if x == y == 0:
break
|
s760672423 | p02397 | u393769849 | 1453256656 | Python | Python | py | Runtime Error | 0 | 0 | 174 | x, y = map(int, raw_input.split())
while True:
if x < y:
print 'x y'
elif x > y :
print 'y x'
elif x == y:
print 'x y'
if x == y == 0:
break
|
s490094535 | p02397 | u393769849 | 1453256749 | Python | Python | py | Runtime Error | 0 | 0 | 176 |
while True:
x, y = map(int, raw_input.split())
if x < y:
print 'x y'
elif x > y :
print 'y x'
elif x == y:
print 'x y'
if x == y == 0:
break
|
s091707893 | p02397 | u393769849 | 1453256849 | Python | Python | py | Runtime Error | 0 | 0 | 206 |
while True:
x, y = map(int, raw_input.split())
if x < y:
print '%d %d' %(x, y)
elif x > y :
print '%d %d' %(y, x)
elif x == y:
print '%d %d' %(x, y)
if x == y == 0:
break
|
s810710257 | p02397 | u393769849 | 1453256881 | Python | Python | py | Runtime Error | 0 | 0 | 208 |
while True:
x, y = map(int, raw_input.split())
if x == y == 0:
break
if x < y:
print '%d %d' %(x, y)
elif x > y :
print '%d %d' %(y, x)
elif x == y:
print '%d %d' %(x, y)
|
s624852408 | p02397 | u885467869 | 1453257047 | Python | Python | py | Runtime Error | 0 | 0 | 177 | while True
a, b = map(int, raw_input().split())
if a == 0 and b == 0:
break
if a < b:
print '%s %s' % (b, a)
else:
print '%s %s' % (a, b) |
s599689557 | p02397 | u824204304 | 1453258297 | Python | Python | py | Runtime Error | 0 | 0 | 187 | i = 0
while 1:
x,y = map(int, raw_input().split())
i += 1
if x == '0' and y == '0':
break
if x >= y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s520624769 | p02397 | u824204304 | 1453258356 | Python | Python | py | Runtime Error | 0 | 0 | 192 | i = 0
while 1:
x,y = map(int, raw_input().split())
i += 1
if x == '0' and y == '0':
break
if x >= y:
print '%s %s' % (y,x)
if y >= x:
print '%s %s' % (x,y)
|
s507820272 | p02397 | u824204304 | 1453258509 | Python | Python | py | Runtime Error | 0 | 0 | 189 | i = 0
while 1:
x,y = map(int, raw_input().split())
i += 1
if x == '0' and y == '0':
break
elif x >= y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s002184884 | p02397 | u613805578 | 1453258546 | Python | Python | py | Runtime Error | 0 | 0 | 127 | sum = 0
while 1:
x, y =map(int, raw_input().split())
sum = sum + 1
if x == y == '0':
break
print sorted(x, y) |
s544783651 | p02397 | u824204304 | 1453258623 | Python | Python | py | Runtime Error | 0 | 0 | 188 | i = 0
while 1:
x,y = map(int, raw_input().split())
i += 1
if x == '0' and y == '0':
break
else:
if x >= y:
print 'y x'
else:
print 'x y'
|
s088626991 | p02397 | u824204304 | 1453258656 | Python | Python | py | Runtime Error | 0 | 0 | 172 | while 1:
x,y = map(int, raw_input().split())
if x == '0' and y == '0':
break
else:
if x >= y:
print 'y x'
else:
print 'x y'
|
s080466975 | p02397 | u824204304 | 1453258664 | Python | Python | py | Runtime Error | 0 | 0 | 175 | while True:
x,y = map(int, raw_input().split())
if x == '0' and y == '0':
break
else:
if x >= y:
print 'y x'
else:
print 'x y'
|
s388839978 | p02397 | u613805578 | 1453258681 | Python | Python | py | Runtime Error | 0 | 0 | 164 | sum = 0
while 1:
x, y =map(int, raw_input().split())
sum = sum + 1
a = max(x, y)
b = min(x, y)
if x == y == '0':
break
print '%s %s' %(b, a) |
s369170689 | p02397 | u613805578 | 1453258735 | Python | Python | py | Runtime Error | 0 | 0 | 165 | sum = 0
while 1:
x, y = map(int, raw_input().split())
sum = sum + 1
a = max(x, y)
b = min(x, y)
if x == y == '0':
break
print '%s %s' %(b, a) |
s950327334 | p02397 | u047737909 | 1453258806 | Python | Python | py | Runtime Error | 0 | 0 | 96 | while True
x,y =map(int,raw_input().split())
if(x==0 and y==0):
Break
elif(x>y)
print x>y |
s845524525 | p02397 | u613805578 | 1453258831 | Python | Python | py | Runtime Error | 0 | 0 | 173 | sum = 0
while 1:
x, y = map(int, raw_input().split())
sum = sum + 1
a = max(x, y)
b = min(x, y)
if x == '0' and y == '0':
break
print '%s %s' %(b, a) |
s962714799 | p02397 | u613805578 | 1453292420 | Python | Python | py | Runtime Error | 0 | 0 | 156 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print (x y)
if x == y == 0:
break
if y < x:
print (y x)
|
s473069589 | p02397 | u613805578 | 1453292545 | Python | Python | py | Runtime Error | 0 | 0 | 166 |
while 1:
x, y = map(int, raw_input().split())
if x <= y:
print '%d %d' %(x, y)
if y < x:
print '%d %d' %(y, x)
if x == y == 0:
break |
s739826723 | p02397 | u613805578 | 1453292565 | Python | Python | py | Runtime Error | 0 | 0 | 149 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print '%d %d' %(x, y)
if y < x:
print '%d %d' %(y, x)
if x == y == 0:
break |
s204929048 | p02397 | u613805578 | 1453292588 | Python | Python | py | Runtime Error | 0 | 0 | 147 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print '%d %d' %(x,y)
if y < x:
print '%d %d' %(y,x)
if x == y == 0:
break |
s541603888 | p02397 | u613805578 | 1453292603 | Python | Python | py | Runtime Error | 0 | 0 | 153 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print '%d %d' %(x,y)
if y < x:
print '%d %d' %(y,x)
if x == 0 and x == 0:
break |
s134140753 | p02397 | u613805578 | 1453292627 | Python | Python | py | Runtime Error | 0 | 0 | 153 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print "%d %d" %(x,y)
if y < x:
print "%d %d" %(y,x)
if x == 0 and x == 0:
break |
s156257286 | p02397 | u613805578 | 1453292635 | Python | Python | py | Runtime Error | 0 | 0 | 153 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print "%d %d" %(x,y)
if y < x:
print "%d %d" %(y,x)
if x == 0 and y == 0:
break |
s147656818 | p02397 | u613805578 | 1453292665 | Python | Python | py | Runtime Error | 0 | 0 | 155 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print "%d %d" % (x,y)
if y < x:
print "%d %d" % (y,x)
if x == 0 and y == 0:
break |
s407750167 | p02397 | u613805578 | 1453292940 | Python | Python | py | Runtime Error | 0 | 0 | 159 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print "%d %d" % (x,y)
elif y < x:
print "%d %d" % (y,x)
elif x == 0 and y == 0:
break |
s905294355 | p02397 | u613805578 | 1453293053 | Python | Python | py | Runtime Error | 0 | 0 | 180 | while 1:
x, y = map(int, raw_input().split())
if x <= y:
print "%d %d" % (x,y)
elif y < x:
print "%d %d" % (y,x)
elif x == 0 and y == 0:
break |
s240242246 | p02397 | u613805578 | 1453293198 | Python | Python | py | Runtime Error | 0 | 0 | 178 | 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)
|
s446478430 | p02397 | u613805578 | 1453293266 | Python | Python3 | py | Runtime Error | 0 | 0 | 178 | 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)
|
s161311519 | p02397 | u613805578 | 1453293288 | Python | Python | py | Runtime Error | 0 | 0 | 171 | 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)
|
s736450616 | p02397 | u613805578 | 1453293419 | Python | Python | py | Runtime Error | 0 | 0 | 169 | 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)
|
s828525652 | p02397 | u613805578 | 1453293461 | Python | Python | py | Runtime Error | 0 | 0 | 149 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
elif y < x:
print y, x
else:
print x, y
|
s097370083 | p02397 | u613805578 | 1453293557 | Python | Python | py | Runtime Error | 0 | 0 | 171 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
elif y < x:
print '%s %s' %(y, x)
else:
print '%s %s' %(x, y)
|
s207173018 | p02397 | u613805578 | 1453293572 | Python | Python | py | Runtime Error | 0 | 0 | 169 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' %(y, x)
else:
print '%s %s' %(x, y)
|
s353005649 | p02397 | u613805578 | 1453293586 | Python | Python | py | Runtime Error | 0 | 0 | 176 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' %(y, x)
else:
print '%s %s' %(x, y)
|
s215796551 | p02397 | u613805578 | 1453293592 | Python | Python | py | Runtime Error | 0 | 0 | 173 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' %(y, x)
else:
print '%s %s' %(x, y)
|
s208016065 | p02397 | u613805578 | 1453293641 | Python | Python | py | Runtime Error | 0 | 0 | 179 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' %(y, x)
else:
print '%s %s' %(x, y)
|
s992702039 | p02397 | u613805578 | 1453293672 | Python | Python | py | Runtime Error | 0 | 0 | 183 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print ' %s %s ' %(y, x)
else:
print ' %s %s ' %(x, y)
|
s922208611 | p02397 | u613805578 | 1453293706 | Python | Python | py | Runtime Error | 0 | 0 | 177 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' %(y,x)
else:
print '%s %s' %(x,y)
|
s544061465 | p02397 | u613805578 | 1453293830 | Python | Python | py | Runtime Error | 0 | 0 | 179 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s882234241 | p02397 | u613805578 | 1453294025 | Python | Python | py | Runtime Error | 0 | 0 | 186 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if y < x:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s163651129 | p02397 | u613805578 | 1453294052 | Python | Python | py | Runtime Error | 0 | 0 | 186 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s105238416 | p02397 | u613805578 | 1453294104 | Python | Python | py | Runtime Error | 0 | 0 | 186 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
if x > y:
print "%s %s" % (y,x)
else:
print "%s %s" % (x,y)
|
s842262290 | p02397 | u613805578 | 1453294166 | Python | Python | py | Runtime Error | 0 | 0 | 188 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
elif x > y:
print "%s %s" % (y,x)
else:
print "%s %s" % (x,y)
|
s482548455 | p02397 | u613805578 | 1453294280 | Python | Python | py | Runtime Error | 0 | 0 | 207 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print "%s %s" % (y,x)
else:
print "%s %s" % (x,y)
|
s322363267 | p02397 | u613805578 | 1453294387 | Python | Python | py | Runtime Error | 0 | 0 | 207 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s925234211 | p02397 | u613805578 | 1453294418 | Python | Python | py | Runtime Error | 0 | 0 | 205 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x>y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s376232180 | p02397 | u613805578 | 1453294468 | Python | Python | py | Runtime Error | 0 | 0 | 210 | while True:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s824513016 | p02397 | u613805578 | 1453294544 | Python | Python | py | Runtime Error | 0 | 0 | 209 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s013754256 | p02397 | u613805578 | 1453294549 | Python | Python | py | Runtime Error | 0 | 0 | 212 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s483866769 | p02397 | u613805578 | 1453294565 | Python | Python | py | Runtime Error | 0 | 0 | 209 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
else:
if x > y:
print '%s %s' % (y,x)
else:
print '%s %s' % (x,y)
|
s906707102 | p02397 | u724923896 | 1453302647 | Python | Python | py | Runtime Error | 0 | 0 | 65 | x, y = input()
if x < y:
print (x y)
if x > y:
print (y x) |
s482796246 | p02397 | u724923896 | 1453302829 | Python | Python | py | Runtime Error | 0 | 0 | 114 | while 1:
x, y = input()
if x == y:
break
if x < y:
print (x y)
if x > y:
print (y x) |
s060555090 | p02397 | u970436839 | 1453302887 | Python | Python | py | Runtime Error | 0 | 0 | 156 | while True:
x, y = map(int, raw_input.split())
if x == 0 and y == 0:
break
elif x < y:
print "%d %d" %(x, y)
else:
print "%d %d" %(y, x) |
s862323821 | p02397 | u724923896 | 1453302932 | Python | Python | py | Runtime Error | 0 | 0 | 125 | while 1:
x, y = input()
if x == 0 and y == 0:
break
if x < y:
print (x y)
if x > y:
print (y x) |
s390269516 | p02397 | u724923896 | 1453303010 | Python | Python | py | Runtime Error | 0 | 0 | 133 | while 1:
x = input()
y = input()
if x == 0 and y == 0:
break
if x < y:
print x y
if x > y:
print y x |
s618558572 | p02397 | u047737909 | 1453303541 | Python | Python | py | Runtime Error | 0 | 0 | 167 | while True:
x,y =map(int,raw_input.split())
if(x==y==0):
break
elif(x>y):
print"%d > %d"%(x,y)
elif(x<y):
print"%d < %d"%(x,y)
else:
print"%d = %d"%(x,y) |
s221553774 | p02397 | u047737909 | 1453303647 | Python | Python | py | Runtime Error | 0 | 0 | 134 | while True:
x,y =map(int,raw_input.split())
if(x==y==0):
break
elif(x>y):
print"%s %s"%(x,y)
elif(x<=y):
print"%s %s"%(y,x) |
s041417652 | p02397 | u047737909 | 1453303876 | Python | Python | py | Runtime Error | 0 | 0 | 118 | while True:
x,y =map(int,raw_input.split())
if(x==y==0):
break
elif(x>y):
print x y
elif(x<=y):
print y x |
s633152755 | p02397 | u047737909 | 1453303934 | Python | Python | py | Runtime Error | 0 | 0 | 121 | while True:
x,y =map(int, raw_input().split())
if(x==y==0):
break
elif(x>y):
print x y
elif(x<=y):
print y x |
s991906777 | p02397 | u834416077 | 1453346311 | Python | Python | py | Runtime Error | 0 | 0 | 115 | while (1):
x,y = map(int, input()_split())
if x == 0 and y ==0:
break
print "%d %d" %(min(x,y), max(x,y)) |
s026430942 | p02397 | u824204304 | 1453382958 | Python | Python | py | Runtime Error | 0 | 0 | 164 | while True:
x,y = map(int, input().split())
if x == 0 and y == 0:
break
if x >= y:
print '%s %s' % (y, x)
else:
print '%s %s' % (x, y) |
s223657877 | p02397 | u828153094 | 1453392809 | Python | Python | py | Runtime Error | 0 | 0 | 118 | while 1
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
print min(x, y) max(x, y) |
s807781829 | p02397 | u828153094 | 1453393375 | Python | Python | py | Runtime Error | 0 | 0 | 130 | while 1
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
print '%d %d' %(min(x, y), max(x, y)) |
s850959315 | p02397 | u828153094 | 1453393488 | Python | Python | py | Runtime Error | 0 | 0 | 120 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
print min(x, y) max(x, y)) |
s776750380 | p02397 | u828153094 | 1453393520 | Python | Python | py | Runtime Error | 0 | 0 | 119 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
print min(x, y) max(x, y) |
s109734761 | p02397 | u828153094 | 1453393557 | Python | Python | py | Runtime Error | 0 | 0 | 121 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y == 0:
break
print min(x, y), max(x, y)) |
s240331807 | p02397 | u119456964 | 1453775981 | Python | Python | py | Runtime Error | 0 | 0 | 137 | while 1:
if x == 0 and y == 0:
break
else:
if x > y:
temp = x
x = y
y = temp
print '{0} {1}'.format(x, y) |
s644008457 | p02397 | u532962080 | 1453779557 | Python | Python | py | Runtime Error | 0 | 0 | 163 | while True:
x = input()
y = input()
if x == 0 and y == 0:
break
elif x < y:
print "%d %d" % (x, y)
elif x > y:
print "%d %d" % (y, x) |
s825250028 | p02397 | u532962080 | 1453779964 | Python | Python | py | Runtime Error | 0 | 0 | 66 | while True:
x = input()
y = input()
print min(x,y), max(x,y) |
s981512627 | p02397 | u532962080 | 1453779988 | Python | Python | py | Runtime Error | 0 | 0 | 94 | while True:
x = input()
y = input()
if x == y == 0:
break
print min(x,y), max(x,y) |
s233474391 | p02397 | u532962080 | 1453780008 | Python | Python | py | Runtime Error | 0 | 0 | 94 | while True:
x = input()
y = input()
if x == y == 0:
break
print min(x,y), max(x,y) |
s697302490 | p02397 | u532962080 | 1453780026 | Python | Python | py | Runtime Error | 0 | 0 | 94 | while True:
x = input()
y = input()
if x == y == 0:
break
print min(x,y), max(x,y) |
s453199593 | p02397 | u532962080 | 1453780096 | Python | Python | py | Runtime Error | 0 | 0 | 117 | while True:
x,y = map(int,raw_input().split())
y = input()
if x == y == 0:
break
print min(x,y), max(x,y) |
s907809857 | p02397 | u456885296 | 1453781087 | Python | Python | py | Runtime Error | 0 | 0 | 77 | a,b=map(int,raw_input().split())
if a >= b:
print 'a b'
else
print 'b a' |
s802103639 | p02397 | u177295149 | 1453789163 | Python | Python | py | Runtime Error | 0 | 0 | 121 | while 1:
x = int(raw_input())
y = int(raw_input())
if x == 0 and y == 0:
break
print '%s %s' %(x, y) |
s856964831 | p02397 | u177295149 | 1453789221 | Python | Python | py | Runtime Error | 0 | 0 | 100 | while 1:
x, y = int(raw_input())
if x == 0 and y == 0:
break
print '%s %s' %(x, y) |
s403361989 | p02397 | u177295149 | 1453789382 | Python | Python | py | Runtime Error | 0 | 0 | 160 | while 1:
x,y = map(raw_input().split())
if x == 0 and y == 0:
break
if y >= x:
print '%s %s' % (x, y)
else:
print '%s %s' % (y, x) |
s418326394 | p02397 | u920118302 | 1453811312 | Python | Python | py | Runtime Error | 0 | 0 | 244 | x = []
y = []
i = 0
while True:
a, b = map(int, input().split())
if b < a:
stock = a
a = b
b = stock
x.append(a)
y.append(b)
if x[i] == 0 and y[i] == 0:
break
i += 1
for j in range(i):
print(str(x[j]), str(y[j])) |
s925219593 | p02397 | u803327846 | 1453819404 | Python | Python | py | Runtime Error | 0 | 0 | 122 | while 1:
x,y = map(int, input().split)
if x == 0 and y == 0:
break
min = min(x,y)
max = max(x,y)
print x + y |
s192637741 | p02397 | u803327846 | 1453819504 | Python | Python | py | Runtime Error | 0 | 0 | 135 | while 1:
x,y = map(int, input().split)
if x == 0 and y == 0:
break
min = min(x,y)
max = max(x,y)
print "%d %d", (min,max) |
s696738116 | p02397 | u803327846 | 1453819530 | Python | Python | py | Runtime Error | 0 | 0 | 139 | while 1:
x, y = map(int,raw_input().split)
if x == 0 and y == 0:
break
min = min(x,y)
max = max(x,y)
print "%d %d", (min,max) |
s333333918 | p02397 | u803327846 | 1453819554 | Python | Python | py | Runtime Error | 0 | 0 | 140 | while 1:
x, y = map(int,raw_input().split)
if x == 0 and y == 0:
break
min = min(x,y)
max = max(x,y)
print "%d %d", %(min,max) |
s478392941 | p02397 | u436807165 | 1455147382 | Python | Python | py | Runtime Error | 0 | 0 | 123 | while True:
x,y = map(int,raw_input().split())
if x,y == 0,0:
break
elif x >= y:
print x, y
elif y >x:
print y, x |
s324883589 | p02397 | u436807165 | 1455147450 | Python | Python | py | Runtime Error | 0 | 0 | 123 | while True:
x,y = map(int,raw_input().split())
if x,y == 0,0:
break
elif x >= y:
print x, y
elif y >x:
print y, x |
s880699171 | p02397 | u436807165 | 1455147539 | Python | Python | py | Runtime Error | 0 | 0 | 121 | while True:
x,y = map(int,raw_input().split())
if x,y == 0,0:
break
elif x >= y:
print x,y
elif y >x:
print y,x |
s224752931 | p02397 | u436807165 | 1455147829 | Python | Python | py | Runtime Error | 0 | 0 | 83 | while True:
x,y = sorted(map(raw_input().split()))
if x==y==0:
break
print x,y |
s661268526 | p02397 | u075836834 | 1457323541 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 |
import sys
while True:
x,y = map(int,sys.stdin.inputline().split())
if x==0 & y==0:
break
else:
if x<=y:
print(x,y)
else:
print(y,x) |
s766190371 | p02397 | u994049982 | 1458663271 | Python | Python | py | Runtime Error | 0 | 0 | 144 | While True:
a=map(int,input().split())
if a==[0,0]:
break
if a[0]>a[1]:print(str(a[1])+" "+str(a[0]))
else: print(str(a[0])+" "+str(a[1])) |
s936833598 | p02397 | u994049982 | 1458663286 | Python | Python | py | Runtime Error | 0 | 0 | 148 | While True:
a=map(int,raw_input().split())
if a==[0,0]:
break
if a[0]>a[1]:print(str(a[1])+" "+str(a[0]))
else: print(str(a[0])+" "+str(a[1])) |
s401278574 | p02397 | u869301406 | 1458728857 | Python | Python | py | Runtime Error | 0 | 0 | 966 | while True :
4 a,b = map(int,raw_input().split())
5
6 if a ==0 and b==0 :
7 break
8 else:
9 if a > b:
10 print b,a
11 else:
12 print a,b |
s012745678 | p02397 | u463783070 | 1458747893 | 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) |
s858938917 | p02397 | u463783070 | 1458748098 | 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) |
s238441507 | p02397 | u463783070 | 1458748110 | 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) |
s166122667 | p02397 | u463783070 | 1458748128 | 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) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.