Run ID:65237

提交时间:2024-01-24 14:58:53

# include<iostream> using namespace std; int main(){ int a,b,yushu; cin>>a>>b; yushu = a%b; while(yushu!=0){ a=b; b=yushu; yushu=a%b; } cout<<b<<endl; return 0; }