Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71454 胡海峰老师 最大公约数(函数) Python3 Wrong Answer 31 MS 3752 KB 173 2024-04-24 12:06:09

Tests(0/10):


Code:

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


Run Info:

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