Run ID:70024

提交时间:2024-04-13 11:27:05

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