最大公約數(歐幾里得算法/展轉相除法)

     static int gcd(int a,int b){
           return b==0?a:gcd(b,a%b);
        }
相關文章
相關標籤/搜索