Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70009 袁翌辰 公约数问题 Python3 Wrong Answer 32 MS 3744 KB 156 2024-04-13 11:19:24

Tests(0/10):


Code:

a,c = input().split a,c =int(a),int(c) if a < c: a,c =c,a def gcd(a,b): while b: a,b =b ,a%b return a print({gcd(a,c)})


Run Info:

------Input------
7 7
------Answer-----
7
------Your output-----