Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67542 屠佳毅 公约数问题 Python3 Accepted 27 MS 3772 KB 145 2024-03-16 17:06:50

Tests(10/10):


Code:

def find(a, b): while b != 0: a, b = b, a % b return a a, c = map(int, input().split()) result = find(a, c) print(result)