int gcd(int x, int y)
{
return y ? gcd(y, x % y) : x;
}
求最大公因数
最新推荐文章于 2022-07-10 20:23:23 发布
int gcd(int x, int y)
{
return y ? gcd(y, x % y) : x;
}