Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71456 胡海峰老师 最大公约数(函数) Python3 Wrong Answer 32 MS 3760 KB 171 2024-04-24 12:07:44

Tests(0/10):


Code:

a,b = map(int,input().split()) def gcd(a,b): if b>a: a = b while b!=0: b = a%b a = b return b res = gcd(a,b) print(res)


Run Info:

------Input------
49 47
------Answer-----
1
------Your output-----
0