Run ID:129348
提交时间:2025-08-24 14:09:47
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,c; cin>>n>>m; c=n%m; while(c!=0){ n=m; m=c; c=n%m; } cout<<m; return 0; }