public BigInteger getSum(BigInteger n, BigInteger c) { for(BigInteger i = BigInteger.ZERO; i.compareTo(n) < 0; i=i.add(BigInteger.ONE)) {
sum = sum.add(BigInteger i,
在Java语言中,如何比较int和BigInteger?我特别需要知道int是否小于BigInteger。下面是我使用的代码:private static BigInteger three = newBigInteger("3");
private static BigInteger zero = new BigIn