OpenJudge - 09: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的最小公倍数。
输入:
两个正整数A和B
输出:
一个整数M
2023-12-04 23:22:46
OpenJudge - 09: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的最小公倍数。
输入:
两个正整数A和B
输出:
一个整数M