最大公约数(欧几里得算法/展转相除法)

     static int gcd(int a,int b){
           return b==0?a:gcd(b,a%b);
        }
相关文章
相关标签/搜索