F. 【例35.3】 最大公约数

    Type: RemoteJudge 1000ms 256MiB

【例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.

说明

求两个正整数mmnn的最大公约数。

输入格式

输入mmnn

输出格式

mmnn的最大公约数,对于全部数据:mm,nn<10000001000000

样例

4 6
2

竞赛B班5.10日

Not Attended
Status
Done
Rule
IOI
Problem
6
Start at
2025-5-10 17:30
End at
2025-5-17 17:30
Duration
168 hour(s)
Host
Partic.
5