| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 66939 | 胡海峰老师 | 公约数问题 | Python3 | Accepted | 36 MS | 3772 KB | 226 | 2024-03-12 14:40:53 |
#http://oj.91xbc.com/p/1529 def solution(a,b): if a<b: a,b = b,a t = b while t>1: if a%t ==0 and b%t==0: return t t -=1 return t a,b = list(map(int,input().split())) res = solution(a,b) print(res)