Run ID:69487

提交时间:2024-04-05 11:36:05

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