Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
132232
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
132232
6倪葭轩
最大公约数
Python3
Accepted
54 MS
3752 KB
86
2025-10-07 13:50:39
Tests(1/1):
Code:
a,b=input().split() a=int(a) b=int(b) while a!=0 and b!=0: a,b=b,a%b print(a)