| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70011 | 冯潇阳 | 公约数问题 | Python3 | Compile Error | 0 MS | 0 KB | 148 | 2024-04-13 11:19:55 |
def gcd(a,b) while b: a,b=b,a%b return a a,c=input().split() a=int(a) c=int(c) if a<c: a,c=c,a res=gcd(a,c) print(res)
File "Main.py", line 1
def gcd(a,b)
^
SyntaxError: invalid syntax