题解 | #求最小公倍数#
求最小公倍数
http://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
def func(x,y):
k = 1
for i in range(min(x, y),0,-1):
if x % i == 0 and y % i == 0:
k = i
return x*y/k
return x*y/k
while True:
try:
a,b = map(int, input().split())
c = func(a, b)
print(int(c))
pass
except:
break