Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86777 丁俊杰 按班分组 Python3 Accepted 37 MS 3764 KB 133 2024-07-27 23:33:08

Tests(10/10):


Code:

a,b=map(int,input().split()) c=min(a,b) for x in range(c,0,-1): if a%x==0 and b%x==0: print(x) break