Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69940 胡海峰老师 公约数问题 Python3 Accepted 36 MS 3764 KB 161 2024-04-11 20:39:51

Tests(10/10):


Code:

def common(a,b): if a%b==0 : return b return common(b,a%b) a,b = list(map(int,input().split())) if a<b: a,b =b,a print( common(a,b))