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

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 a res = gcd(a,b) print(res)


Run Info:

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