题目:Least Common Multiple
描述:
Given A and B. Find the least positive M which is a common multiple of both A and B.
输入:
Two positive integers A and B (A,B <= 10000).
输出:One integer M.
我的翻译:给定两个数,求他们最小公倍数。
输入:两个整数A,B(A,B<=10000)。
输出:最小公倍数。
题目:Least Common Multiple
描述:
Given A and B. Find the least positive M which is a common multiple of both A and B.
输入:
Two positive integers A and B (A,B <= 10000).
输出:One integer M.
我的翻译:给定两个数,求他们最小公倍数。
输入:两个整数A,B(A,B<=10000)。
输出:最小公倍数。