题解 | #等差数列#
求最小公倍数
http://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
while True:
try:
num = list(map(int,input().split()))
except:
break
else:
n1,n2=num[0],num[1]
if n1>n2:
n1,n2 = n2,n1
for i in range(n2,n1*n2+1,n2):
if i%n1==0:
print(i)
break