题目链接:Greatest Common Divisor | JXNUOJ
题目:Greatest Common Divisor
描述:Given A and B. Find the greatest D which is a common divisor of both A and B.
输入:Two positive integers A and B (A,B <= 10000).
输出:One integer D.
我的翻译:给定两个数 A 和 B,找到这两个数的最大公约数。
输入:两个正整数 A 和 B (A,B<=10000).
输出:一个整数