int gcd(int a,int b){
return b==0 ?a:gcd(b,a%b);
}
辗转相除法求余
最新推荐文章于 2023-03-25 12:49:55 发布
int gcd(int a,int b){
return b==0 ?a:gcd(b,a%b);
}