【例35.3】 最大公约数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
求两个正整数,的最大公约数。
输入格式
输入,。
输出格式
,的最大公约数,对于全部数据:,<。
样例
4 6
2
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
求两个正整数m,n的最大公约数。
输入m,n。
m,n的最大公约数,对于全部数据:m,n<1000000。
4 6
2
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.