歐幾里得求最大公約數

int gcd(int a,int b){
    if(a%b==0)return b;
    else return gcd(b,a%b);
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章