#G. C++-循环while-输入两个任意自然数,求他们的最大公约数

    Type: Default 1000ms 256MiB

C++-循环while-输入两个任意自然数,求他们的最大公约数

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.

Background

Description

输入两个任意自然数,求他们的最大公约数 image

Format

Input

Output

Samples

60
36
12
57
81
3
121
33
11

Limitation

1s, 1024KiB for each test case.

C++基础知识02(循环-for和while及嵌套)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
18
Start at
2024-5-5 0:00
End at
2024-5-25 20:00
Duration
500 hour(s)
Host
Partic.
28