摘要:
View Code #include<iostream>using namespace std;int gcd(int x,int y){ return y==0?x:gcd(y,x%y);}int main(){ int x,y; cin>>x>>y; cout<<gcd(x,y)<<endl; return 0;} 阅读全文
posted @ 2012-05-20 10:22
爱嘉牛LA
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号