Run ID:5518
提交时间:2024-11-23 20:37:15
#include<iostream> using namespace std; int main(){ int a,b,y; cin>>a>>b; y=a%b; while(y!=0){ a=b; b=y; y=a%b; } cout<<b; }