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

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


Run Info:

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