Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132241 叶航帅 最大公约数 Python3 Accepted 52 MS 3744 KB 137 2025-10-07 14:11:35

Tests(1/1):


Code:

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