This commit is contained in:
Looly 2025-11-26 20:05:44 +08:00
parent ea717843f6
commit 5ae493119f

View File

@ -59,7 +59,7 @@ public class Combination implements Serializable {
*
* @param n 总数 n必须 大于等于 0
* @param m 取出 m必须 大于等于 0
* @return C(n, m) BigInteger 精确值 m > n 时返回 BigInteger.ZERO
* @return C(n, m) BigInteger 精确值 m 大于 n 时返回 BigInteger.ZERO
*/
public static BigInteger countBig(int n, int m) {
if (n < 0 || m < 0) {