Run ID:138894
提交时间:2025-11-30 11:59:32
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,d=b; cin>>a>>b; while(a<b){ if(a%d==0 and b%d==0){ d--; } } cout<<b; return 0; }