Java实现-一行代码求两个数的最大公约数

来源:互联网 发布:天戏网络 编辑:程序博客网 时间:2024/06/06 03:03
private static int gcd(int m,int n){    return n==0?m:gcd(n,m%n);    }

原创粉丝点击