其他分享
首页 > 其他分享> > 1.26(Least Common Multiple)

1.26(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.

样例输入:

8 12

样例输出:

24

翻译:

描述:

给数字A和B,求出a和B的公倍数的最小正整数M。

输入:

两个正整数A,B(A,B <= 10000)

输出:

一个整数M;

样例输入:

8 12

样例输出:

24

标签:24,输出,12,Multiple,positive,样例,Least,1.26,输入
来源: https://blog.csdn.net/weixin_44746864/article/details/122695422