Run ID:149186
提交时间:2026-03-07 17:40:47
#include<iostream> using namespace std; int main() { long long a,b; cin>>a>>b;; while(a%b!=0){ int t = a; a=b; b=t%b; } cout<<b; return 0; }