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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s149492983 | p02397 | u525395303 | 1555912413 | Python | Python3 | py | Runtime Error | 0 | 0 | 38 | You are not allowed to see this code.
|
s837580102 | p02397 | u607723579 | 1555912451 | Python | Python3 | py | Runtime Error | 0 | 0 | 159 | while True:
x,y = map(int,raw_input().split(" "))
if (x,y) == (0,0):
break
elif (x < y):
print x, y
else :
print y, x
|
s734223076 | p02397 | u093488647 | 1555997506 | Python | Python3 | py | Runtime Error | 0 | 0 | 180 | cnt = 1
output = []
while True:
data += input().split()
if data[0] == 0 && data[1] == 0:
break
output += [str(data[1]) + ' ' + str(data[0])]
for line in output:
print(line)
|
s783792864 | p02397 | u093488647 | 1555997569 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | cnt = 1
output = []
while True:
data += input().split()
if data[0] == 0 and data[1] == 0:
break
output += [str(data[1]) + " " + str(data[0])]
for line in output:
print(line)
|
s276739211 | p02397 | u651717882 | 1556034391 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | x,y = input().split()
x = int()
y = int()
while true:
if x < y:
print(y,x)
if x > y:
print(x,y)
if x==0 and y==0:
break
|
s483565885 | p02397 | u651717882 | 1556034412 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | x,y = input().split()
x = int(x)
y = int(y)
while true:
if x < y:
print(y,x)
if x > y:
print(x,y)
if x==0 and y==0:
break
|
s776176694 | p02397 | u651717882 | 1556034487 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | x,y = input().split()
x = int(x)
y = int(y)
while True:
if x < y:
print(y,x)
elif x > y:
print(x,y)
else x==0 and y==0:
break
|
s212057725 | p02397 | u651717882 | 1556034520 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | x,y = input().split()
x = int(x)
y = int(y)
while True:
if x < y:
print(y,x)
else x > y:
print(x,y)
if x==0 and y==0:
break
|
s041536479 | p02397 | u269825453 | 1556106635 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | while True:
x,y = map(int, input().split())
if(x+y == 0):
break
if(x>y):å
print(y, x)
else:
print(x, y)
|
s343824483 | p02397 | u108130680 | 1556281370 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | while True:
x,y = map(int, input().split())
if x == 0 and y == 0:
break
if x > y:
print(y, x)
else:
print(x, y)
|
s788786100 | p02397 | u805716376 | 1556700414 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | for i in range(3000):
a, b = map(int, input().split())
if a <= b:
print(a, b)
else:
print(b, a)
|
s045361881 | p02397 | u805716376 | 1556700434 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | for i in range(3001):
a, b = map(int, input().split())
if a <= b:
print(a, b)
else:
print(b, a)
|
s951457003 | p02397 | u591403647 | 1558936327 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 |
while True:
x,y=map(int, input().split())
if x+y==0:
break
if x>=y:
tmp = x
x=y
y=tmp
print(x,y)
|
s066424181 | p02397 | u591403647 | 1558936353 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | while True:
x,y=map(int, input().split())
if x+y==0:
break
if x>=y:
tmp = x
x=y
y=tmp
print(x,y)
|
s411036762 | p02397 | u591403647 | 1558936443 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | while True:
x,y=map(int, input().split())
if x+y==0:
break
if x>=y:
tmp = x
x=y
y=tmp
print(x,y)
|
s997991854 | p02397 | u591403647 | 1558936525 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | while True:
x,y=map(int, input().split())
if x+y==0:
break
if x>=y:
tmp = x
x=y
y=tmp
print(x,y)
|
s437440570 | p02397 | u591403647 | 1558936551 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | while True:
x,y=map(int, input().split())
if x==0 and y==0:
break
if x>=y:
tmp = x
x=y
y=tmp
print(x,y)
|
s062221696 | p02397 | u520674325 | 1559020910 | Python | Python3 | py | Runtime Error | 0 | 0 | 159 | while True:
x = int(input().split())
if x[0] == 0 and x[1] == 0:
break
if x[0]>x[1]:
print('%d %d' % (x[1],x[0])
else:
print('%d %d' % (x[0],x[1])
|
s936865109 | p02397 | u520674325 | 1559020936 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | while True:
x = int(input().split())
if x[0] == 0 and x[1] == 0:
break
if x[0]>x[1]:
print('%d %d' % (x[1],x[0]))
else:
print('%d %d' % (x[0],x[1]))
|
s188284992 | p02397 | u520674325 | 1559021014 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | while True:
x = int(input().split())
if x[0] == 0 and x[1] == 0:
break
if x[0]>x[1]:
print(x[1],x[0])
else:
print(x[0],x[1])
|
s238156222 | p02397 | u629874472 | 1559029504 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | while True:
a,b = map(int,input().split())
if a ==0 and b ==0:
break
else:
if a>=b:
print(a,b)
else:
a,b =b,a
print(a,b)
|
s687550946 | p02397 | u629874472 | 1559029553 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | while True:
a,b = map(int,input().split())
if a ==0 and b ==0:
break
else:
if a<b:
a,b =b,a
print(a,b)else:
|
s240673300 | p02397 | u629874472 | 1559029571 | Python | Python3 | py | Runtime Error | 0 | 0 | 189 | while True:
a,b = map(int,input().split())
if a ==0 and b ==0:
break
else:
if a<=b:
print(a,b)
else:
a,b =b,a
print(a,b)
|
s861856951 | p02397 | u477464845 | 1559056917 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | while True:
a,b = map(int,input().split())
if x == 0 and b == 0:
break
else:
if a > b:
a,b = b,a
print("{} {}".format(a,b))
|
s473932493 | p02397 | u477464845 | 1559057011 | Python | Python3 | py | Runtime Error | 0 | 0 | 173 | while True:
a, b = map(int, input().split())
if x == 0 and b == 0:
break
else:
if a > b:
a, b = b, a
print("{} {}".format(a, b))
|
s843363578 | p02397 | u477464845 | 1559057218 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | while True:
a,b = map(int,input().split())
if x == 0 and b == 0:
break
else:
if a < b:
print(a,b)
elif a > b:
print(b,a)
|
s975637742 | p02397 | u477464845 | 1559057477 | Python | Python3 | py | Runtime Error | 0 | 0 | 213 | while True:
a,b = map(int,input().split())
if x == 0 and b == 0:
break
else:
if a < b:
print("{} {}".format(a,b))
elif a > b:
print("{} {}".format(b,a))
|
s188159533 | p02397 | u535719732 | 1559195521 | Python | Python3 | py | Runtime Error | 0 | 0 | 260 | list = []
while True:
num = list(map(int,input()))
if(num[0] == 0 and num[1] == 0):
break
else:
if(num[0] > num[1]):
print("%d %d" %(num[1],num[0]))
else:
print("%d %d" %(num[0],num[1]))
|
s340392156 | p02397 | u535719732 | 1559195559 | Python | Python3 | py | Runtime Error | 0 | 0 | 268 | list = []
while True:
num = list(map(int,input().split()))
if(num[0] == 0 and num[1] == 0):
break
else:
if(num[0] > num[1]):
print("%d %d" %(num[1],num[0]))
else:
print("%d %d" %(num[0],num[1]))
|
s527583053 | p02397 | u494048940 | 1559231936 | Python | Python3 | py | Runtime Error | 0 | 0 | 173 | while True:
a,b=map(int,input().sprit())
if (a==0 and b==0):
break
if a>b:
swap=a
a=b
b=swap
print('%d %d'%(a,b))
|
s061768557 | p02397 | u015712946 | 1559524390 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | while True:
x, y = map(int, input().split())
if x == 0 and y == 0 :
break
if x>y:
print(y, x)
else:
print(x,y)
|
s694185345 | p02397 | u015712946 | 1559524486 | Python | Python3 | py | Runtime Error | 0 | 0 | 317 | #include <iostream>
using namespace std;
int main()
{
int x, y;
while(true) {
cin >> x >> y;
if(x == 0 && y == 0) {
break;
}
if(x>y) {
cout << y << " " << x << endl;
}
else {
cout << x << " " << y << endl;
}
}
}
|
s191486786 | p02397 | u499005012 | 1413651385 | Python | Python3 | py | Runtime Error | 0 | 0 | 193 | while True:
results = list(map(str, sorted(map(int, input().split()))))
if len(results) == len(list(filter(lambda item: item == '0', results)))
break
print ' '.join(results) |
s260203741 | p02397 | u017764209 | 1416928214 | Python | Python | py | Runtime Error | 0 | 0 | 233 | listx = []
listy = []
while True:
x,y = map(int,raw_input().split())
if x==0 and y==0:
break
list.append(x)
list.append(y)
listx.sort()
listy.sort()
for i in len(listx):
print '%s %S',(listx[i],listy[i]) |
s734405974 | p02397 | u017764209 | 1416928264 | Python | Python | py | Runtime Error | 0 | 0 | 240 | listx = []
listy = []
while True:
x,y = map(int,raw_input().split())
if x==0 and y==0:
break
list.append(x)
list.append(y)
listx.sort()
listy.sort()
for i in range(len(listx)):
print '%s %S',(listx[i],listy[i]) |
s356825590 | p02397 | u879226672 | 1423053029 | Python | Python | py | Runtime Error | 0 | 0 | 258 | i = 0
while True:
x,y = raw_input()
if x == 0 and y == 0:
break
if x > y:
x,y = map(str,(x,y))
print x + " " + y
else:
x,y = map(str,(x,y))
print y + " " + x
i += 1
#print "Case %d: %d" % (i, x) |
s522611759 | p02397 | u879226672 | 1423053059 | Python | Python | py | Runtime Error | 0 | 0 | 208 |
while True:
x,y = raw_input()
if x == 0 and y == 0:
break
if x > y:
x,y = map(str,(x,y))
print x + " " + y
else:
x,y = map(str,(x,y))
print y + " " + x |
s962479943 | p02397 | u879226672 | 1423053087 | Python | Python | py | Runtime Error | 0 | 0 | 208 |
while True:
x,y = raw_input()
if x == 0 and y == 0:
break
if x > y:
x,y = map(str,(x,y))
print x + " " + y
else:
x,y = map(str,(x,y))
print y + " " + x |
s136639719 | p02397 | u879226672 | 1423053254 | Python | Python | py | Runtime Error | 0 | 0 | 232 | while True:
x,y = raw_input()
x,y = map(int,(x,y))
if x == 0 and y == 0:
break
if x > y:
x,y = map(str,(x,y))
print x + " " + y
else:
x,y = map(str,(x,y))
print y + " " + x |
s392735721 | p02397 | u879226672 | 1423053283 | Python | Python | py | Runtime Error | 0 | 0 | 242 |
while True:
x,y = raw_input().split()
#x,y = map(int,(x,y))
if x == 0 and y == 0:
break
if x > y:
x,y = map(str,(x,y))
print x + " " + y
else:
x,y = map(str,(x,y))
print y + " " + x |
s658990280 | p02397 | u447630054 | 1424780506 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | import sys
while True:
(x, y) = [int(i) for i in sys.stdin.readline().split()]
if x == 0 == y:
break
if x > y:
print(x, y) |
s885846124 | p02397 | u281873326 | 1427372963 | Python | Python | py | Runtime Error | 0 | 0 | 436 | stack = []
while True:
a = raw_input()
if a == '0 0': break
for i, b in enumerate(a.split()):
if i==0:
x=int(b)
else:
y=int(b)
if x<=y:
stack.append(x)
stack.append(y)
else:
stack.append(y)
stack.append(x)
for i, c in enumerate(stack):
w=i%2
if w==0:
x=int(c)
else:
y=int(c)
print x,y |
s692277658 | p02397 | u281873326 | 1427373007 | Python | Python | py | Runtime Error | 0 | 0 | 436 | stack = []
while True:
a = raw_input()
if a == '0 0': break
for i, b in enumerate(a.split()):
if i==0:
x=int(b)
else:
y=int(b)
if x<=y:
stack.append(x)
stack.append(y)
else:
stack.append(y)
stack.append(x)
for i, c in enumerate(stack):
w=i%2
if w==0:
x=int(c)
else:
y=int(c)
print x,y |
s361755644 | p02397 | u281873326 | 1427373606 | Python | Python | py | Runtime Error | 0 | 0 | 436 | stack = []
while True:
a = raw_input()
if a == '0 0': break
for i, b in enumerate(a.split()):
if i==0:
x=int(b)
else:
y=int(b)
if x<=y:
stack.append(x)
stack.append(y)
else:
stack.append(y)
stack.append(x)
for i, c in enumerate(stack):
w=i%2
if w==0:
x=int(c)
else:
y=int(c)
print x,y |
s105067854 | p02397 | u281873326 | 1427373661 | Python | Python | py | Runtime Error | 0 | 0 | 436 | stack = []
while True:
a = raw_input()
if a == '0 0': break
for i, b in enumerate(a.split()):
if i==0:
x=int(b)
else:
y=int(b)
if x<=y:
stack.append(x)
stack.append(y)
else:
stack.append(y)
stack.append(x)
for i, c in enumerate(stack):
w=i%2
if w==0:
x=int(c)
else:
y=int(c)
print x,y |
s499597480 | p02397 | u162387221 | 1431149489 | Python | Python | py | Runtime Error | 0 | 0 | 114 | while True:
x, y = sorted(map(int, raw_input().split()))
if x == y == 0:
break
print x,y
|
s197863360 | p02397 | u172616925 | 1435314265 | Python | Python | py | Runtime Error | 0 | 0 | 136 | while 1:
x, y = raw_input()
if x == 0 and y ==0:
break
elif y > x:
print "%s %s" & (y,x)
else:
print "&s &s" & (x,y) |
s026217262 | p02397 | u172616925 | 1435314336 | Python | Python | py | Runtime Error | 0 | 0 | 146 | while 1:
x, y = map(int, raw_input())
if x == 0 and y ==0:
break
elif y > x:
print "%d %d" & (y,x)
else:
print "&d &d" & (x,y) |
s920207161 | p02397 | u172616925 | 1435314376 | Python | Python | py | Runtime Error | 0 | 0 | 154 | while 1:
x, y = map(int, raw_input().split())
if x == 0 and y ==0:
break
elif y > x:
print "%d %d" & (y,x)
else:
print "&d &d" & (x,y) |
s119941383 | p02397 | u446066125 | 1436754692 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | while True :
(x, y) = int(i) for i in input().split()
if x = 0 and y = 0 :
break
elif x >= y :
print(x,y)
else :
print(y,x) |
s556055010 | p02397 | u446066125 | 1436754908 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | while True :
(x, y) = int(i) for i in input().split().strip()
if x = 0 and y = 0 :
break
elif x >= y :
print(x,y)
else :
print(y,x) |
s829781597 | p02397 | u446066125 | 1436755417 | Python | Python3 | py | Runtime Error | 0 | 0 | 159 | while True :
(x, y) = int(i) for i in input().split()
if x = 0 y = 0 :
break
elif x >= y :
print(x,y)
else :
print(y,x) |
s709284678 | p02397 | u446066125 | 1436755471 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | while True :
(x, y) = int(i) for i in input().strip()
if x = 0 and y = 0 :
break
elif x >= y :
print(x,y)
else :
print(y,x) |
s021308087 | p02397 | u446066125 | 1436755922 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | while True :
(x,y) = int(i) for i in input().split()
if x = 0 and y = 0 :
break
elif x <= y:
print(x,y)
else :
peint(y,x) |
s214566494 | p02397 | u446066125 | 1436755939 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | while True :
(x,y) = int(i) for i in input().strip(split())
if x = 0 and y = 0 :
break
elif x <= y:
print(x,y)
else :
peint(y,x) |
s778802356 | p02397 | u446066125 | 1436755947 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | while True :
(x,y) = int(i) for i in input().strip()
if x = 0 and y = 0 :
break
elif x <= y:
print(x,y)
else :
peint(y,x) |
s820156889 | p02397 | u446066125 | 1436755988 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | while True :
(x,y) = int(i) for i in input().split()
if x = 0 and y = 0 :
break
elif x <= y:
print(x,y)
else :
peint(y,x) |
s499264065 | p02397 | u446066125 | 1436756012 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | while True :
(x,y) = int(i) for i in input().split()
if 0 = x and 0 = y:
break
elif x <= y:
print(x,y)
else :
peint(y,x) |
s712897494 | p02397 | u446066125 | 1436756035 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | while True :
(x,y) = int(i) for i in input().split()
if 0 = x and 0 = y:
break
else if x <= y:
print(x,y)
else :
peint(y,x) |
s060901484 | p02397 | u446066125 | 1436756043 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | while True :
(x,y) = int(i) for i in input().split()
if 0 = x and 0 = y:
break
else if x <= y:
print(x,y)
else :
print(y,x) |
s126261302 | p02397 | u446066125 | 1436756051 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | while True :
(x,y) = int(i) for i in input().split()
if 0 = x and 0 = y:
break
elif x <= y:
print(x,y)
else :
print(y,x) |
s554484714 | p02397 | u446066125 | 1436756105 | Python | Python3 | py | Runtime Error | 0 | 0 | 152 | while True :
(x,y) = int(i) for i in input().split()
if y < x :
print(y,x)
elif x <= y :
print(x,y)
else :
break |
s414886106 | p02397 | u446066125 | 1436756258 | Python | Python3 | py | Runtime Error | 0 | 0 | 196 | while True :
num = input().strip()
num = num.split()
x = int(num[0])
y = int(num[1])
if y < x :
print(y,x)
elif x <= y :
print(x,y)
else :
break |
s995078163 | p02397 | u446066125 | 1436756397 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | while True :
(x,y) = [int(i) for i in input().split()]
if 0 = x and 0 = y:
break
elif x <= y:
print(x,y)
else :
print(y,x) |
s385386425 | p02397 | u446066125 | 1436756528 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | while True :
(x,y) = [int(i) for i in input().split()]
if 0 = x and 0 = y:
break
elif x <= y:
print(x,y)
else :
print(y,x) |
s351694315 | p02397 | u446066125 | 1436756679 | Python | Python3 | py | Runtime Error | 0 | 0 | 206 | while True :
??????num = input().strip()
num = num.sprit()
x = int(num[0])
y = int(num[1])
if 0 = x and 0 = y:
break
elif x <= y:
print(x,y)
else :
print(y,x) |
s228894070 | p02397 | u389610071 | 1436769421 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | (x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
break
elif x <= y:
print(x, y)
elif x >= y:
print(y, x) |
s938846360 | p02397 | u389610071 | 1436769468 | Python | Python3 | py | Runtime Error | 0 | 0 | 170 | while True:
(x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
break
elif x <= y:
print(x, y)
elif x >= y:
print(y, x) |
s243923935 | p02397 | u389610071 | 1436769556 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | while True:
(x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
break
elif x <= y:
print(x, y)
elif x > y:
print(y, x) |
s804478464 | p02397 | u389610071 | 1436769644 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | while True:
(x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
break
elif x <= y:
print(x, y)
else:
print(y, x) |
s682447881 | p02397 | u916212924 | 1437999562 | Python | Python3 | py | Runtime Error | 0 | 0 | 191 | ans = []
while True:
arr = map(int, raw_input().split())
if arr[0] == 0 and arr[1] == 0:
break
else:
arr.sort()
ans.append(arr)
for x in ans:
print(" ".join(map(str, x))) |
s405571648 | p02397 | u938745275 | 1439486022 | Python | Python | py | Runtime Error | 0 | 0 | 254 | list = []
while True:
line = raw_input().split(" ")
if line[0] == 0 and line[1] == 0:
break
line = map(int, line)
#print line
if line[0] > line[1]:
temp = line[0]
line[0] = line[1]
line[1] = temp
print " ".join(map(str, line)) |
s184108061 | p02397 | u605525736 | 1439526704 | Python | Python3 | py | Runtime Error | 0 | 0 | 67 | while True:
(x,y) = [int(i) for i in input().split()]
print(x, y) |
s907164334 | p02397 | u605525736 | 1439526724 | Python | Python3 | py | Runtime Error | 0 | 0 | 67 | while True:
(x,y) = [int(i) for i in input().split()]
print(x, y) |
s843213189 | p02397 | u605525736 | 1439526748 | Python | Python3 | py | Runtime Error | 0 | 0 | 66 | while True:
(x,y) = [int(i) for i in input().split()]
print(x, y) |
s356841019 | p02397 | u745846646 | 1439772979 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | import sys
for line in sys.stdin:
????????xy = sorted(map(int , line.split()))
????????if xy[0] == 0 and xy[1] == 0: break
????????print(*xy) |
s523501774 | p02397 | u306530296 | 1439774044 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | int main(){
int a,b;
while(true){
scanf("%d %d",&a,&b);
if((a==0)&&(b==0))break;
if(a<=b) printf("%d %d\n",a,b);
if(a>b) printf("%d %d\n",b,a);
}
return 0;
} |
s941967040 | p02397 | u978086225 | 1439858389 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | (a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
if (c % 1) == 0:
cnt = cnt + 1
print(cnt) |
s435575025 | p02397 | u978086225 | 1439858507 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | (a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
if (c % i) == 0:
cnt = cnt + 1
print(cnt) |
s959223309 | p02397 | u978086225 | 1439858626 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | (a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
if (c % i) == 0:
cnt = cnt + 1
print(cnt) |
s588417780 | p02397 | u978086225 | 1439858749 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | (a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
if (c % i) == 0:
cnt = cnt + 1
print(cnt) |
s364949222 | p02397 | u676498528 | 1440639721 | Python | Python3 | py | Runtime Error | 0 | 0 | 195 | while True:
(x, y) = [int(i) for i in sys.stdin.readline().split(' ')]
if x == 0 and y == 0
break
if x > y:
z = x
x = y
y = z
print(x, y) |
s182530623 | p02397 | u224288634 | 1444130462 | Python | Python | py | Runtime Error | 0 | 0 | 150 | while True :
x,y = map(int,raw_input.split())
if x==0 and y==0 :
break
else :
if a<b :
print '%d %d' %(a,b)
else :
print '%d %d' %(b,a) |
s576271200 | p02397 | u224288634 | 1444130500 | Python | Python | py | Runtime Error | 0 | 0 | 150 | while True :
x,y = map(int,raw_input.split())
if x==0 and y==0 :
break
else :
if x<y :
print '%d %d' %(x,y)
else :
print '%d %d' %(y,x) |
s293739318 | p02397 | u979909897 | 1444208162 | Python | Python | py | Runtime Error | 0 | 0 | 156 |
while True:
x = raw_input().split(' ')
if x[0] != '0' and x[1] != '0':
temp = x[1]
x[1] = x[0]
x[0] = temp
print `int(x[0])` + " " + `int(x[1])` |
s936284839 | p02397 | u979909897 | 1444398312 | Python | Python | py | Runtime Error | 0 | 0 | 176 | import sys
temp = sys.stdin.read()
array = temp.split('\n')
for x in array:
y = x.split(' ')
temp = y[0]
y[0] = y[1]
y[1] = temp
print `int(y[0])` + " " + `int(y[1])` |
s604976138 | p02397 | u979909897 | 1444398542 | Python | Python | py | Runtime Error | 0 | 0 | 219 | import sys
temp = sys.stdin.read()
array = temp.split('\n')
for x in array:
y = x.split(' ')
if int(y[0]) != 0 and int(y[1]) != 0:
temp = y[0]
y[0] = y[1]
y[1] = temp
print `int(y[0])` + " " + `int(y[1])` |
s004535621 | p02397 | u828455902 | 1446329470 | Python | Python | py | Runtime Error | 0 | 0 | 73 | while 1:
x,y=map(int,raw_input().split()).sort
if y==0:break
print x,y |
s233794677 | p02397 | u828455902 | 1446329509 | Python | Python | py | Runtime Error | 0 | 0 | 75 | while 1:
x,y=map(int,raw_input().split()).sort()
if y==0:break
print x,y |
s380583080 | p02397 | u695952004 | 1447167462 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | while True:
a, b = map(int, input().split())
if a < b:
print(a, b)
elif b <= a:
print(b, a)
elif a == 0 and b ==0:
break; |
s360279282 | p02397 | u695952004 | 1447167509 | Python | Python3 | py | Runtime Error | 0 | 0 | 145 | while True:
a, b = map(int, input().split())
if a < b:
print(a, b)
elif b <= a:
print(b, a)
elif a == 0 and b ==0:
print(a, b)
break; |
s779249694 | p02397 | u982632052 | 1449234610 | Python | Python | py | Runtime Error | 0 | 0 | 155 | while True:
items = input().split(' ')
if (items.count('0') == 2):
break
items_sorted = sorted(items)
print(' '.join(items_sorted)) |
s406019290 | p02397 | u297949443 | 1449929703 | Python | Python | py | Runtime Error | 0 | 0 | 180 | import sys
for i,ws in enumerate(sys.stdin,1):
list = map(int, ws[:-1].split())
if list[0] == 0 and list[1] == 0:
break
print(' '.join(map(str,list.sort()))) |
s010235535 | p02397 | u022579771 | 1449929979 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | import sys
ff = sys.stdin
while True :
a, b = map(int, ff.readline().split())
if (a == 0) & (b == 0) : break
elif a < b :
print(a, b)
else :
print(b, a) |
s194182218 | p02397 | u022579771 | 1449930051 | Python | Python3 | py | Runtime Error | 0 | 0 | 192 | import sys
ff = sys.stdin
while True :
a, b = map(int, ff.readline().split())
if (a == 0) & (b == 0) :
break
elif a < b :
print(a, b)
else :
print(b, a) |
s923644268 | p02397 | u663227983 | 1452517164 | Python | Python | py | Runtime Error | 0 | 0 | 175 | n = 10
i = 1
while x != 0 and y != 0:
n = map(int,raw_input(),split())
x = n[0]
y = n[1]
if x == 0 and y == 0:
break
if x >= y:
print y,x
else
print x,y
i = i + 1 |
s508642787 | p02397 | u663227983 | 1452518079 | Python | Python | py | Runtime Error | 0 | 0 | 174 | x = 1
y = 1
while x != 0 or y != 0:
n = map(int,raw_input().split())
x = n[0]
y = n[1]
if x == 0 and y == 0:
break
elif x <= y:
print x,y
elif x > y:
print y,x1 |
s516209267 | p02397 | u663227983 | 1452518084 | Python | Python | py | Runtime Error | 0 | 0 | 174 | x = 1
y = 1
while x != 0 or y != 0:
n = map(int,raw_input().split())
x = n[0]
y = n[1]
if x == 0 and y == 0:
break
elif x <= y:
print x,y
elif x > y:
print y,x1 |
s405044687 | p02397 | u038005340 | 1453255549 | Python | Python | py | Runtime Error | 0 | 0 | 143 | i = 1
while 1:
x,y = map( int , raw_input().split() )
if (x,y) == (0,0)
break
change = x
x = y
y = change
print "%d %d" %(x,y) |
s459298632 | p02397 | u038005340 | 1453255624 | Python | Python | py | Runtime Error | 0 | 0 | 146 | i = 1
while 1:
x,y = map( int , raw_input().split() )
if x == 0 and y == 0
break
change = x
x = y
y = change
print "%d %d" %(x,y) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.