| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70014 | 潘允晨 | 公约数问题 | Python3 | Wrong Answer | 35 MS | 3740 KB | 149 | 2024-04-13 11:21:51 |
def god(a,c): while c: a,c=b,a%b return a a,c=input().spilt() a=int(a) c=int(c) if a<c: a,c=c,a res=god(a,c) print(res)
------Input------
7 7
------Answer-----
7
------Your output-----