gcd 最小公約數

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