OpenJudge - 08: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的最大公约数D。
输入:
两个正整数A和B。
输出:
一个数D
本文介绍了一个简单的数学问题——寻找两个正整数A和B的最大公约数D。输入包括两个正整数A和B,输出为一个整数D,即A和B的最大公约数。
OpenJudge - 08: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的最大公约数D。
输入:
两个正整数A和B。
输出:
一个数D

被折叠的 条评论
为什么被折叠?