int gcd(int a,int b)
{
return b=0>a:gcd(b,a&b);
}
求最大公因数的算法
最新推荐文章于 2024-03-03 21:51:15 发布
int gcd(int a,int b)
{
return b=0>a:gcd(b,a&b);
}