提交时间:2020-10-31 18:59:20

运行 ID: 8254

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