­. GCD

    Type: Default 1000ms 256MiB

GCD

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

这个题,带你走进GCD(最大公因数)

Format

Input

输入多组数据,每组数据是两个整数a,b(long long 范围内)

Output

每组数据输出a和b的最大公约数。

Samples

4 6
2

Limitation

1s, 1024KiB for each test case.

第七届SWPU-ACM老生预选赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
187
Start at
2022-9-19 14:00
End at
2022-10-28 14:00
Duration
936 hour(s)
Host
Partic.
45