| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 66938 | 胡海峰老师 | 公约数问题 | Python3 | Runtime Error | 4008 MS | 3772 KB | 197 | 2024-03-12 14:37:59 |
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)
Runtime Error:[ERROR] A not allowed system call. Call ID:511