Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112432 伍长辉 最大公约数 Python3 Accepted 35 MS 3748 KB 138 2025-03-09 14:17:39

Tests(1/1):


Code:

m,n = input().split() n=int(n) m=int(m) t=m while True: if m%t==0 and n%t==0: break t=t-1 print(t)