最大公约数

来源:互联网 发布:软件销售网站 编辑:程序博客网 时间:2024/06/07 20:01
int gcd(int a,int b){    if(b==0)return a;    return gcd(b,a%b);}

原创粉丝点击