Run ID:122426

提交时间:2025-06-19 19:05:49

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,temp; cin>>a>>b; while(b!=0){ temp=a%b; a=b; b=temp; } cout<<a; return 0; }