Skip to content

Commit 8ed1db5

Browse files
committed
Fixed coverage
1 parent a9e07e9 commit 8ed1db5

File tree

1 file changed

+0
-3
lines changed
  • src/main/java/g3401_3500/s3428_maximum_and_minimum_sums_of_at_most_size_k_subsequences

1 file changed

+0
-3
lines changed

src/main/java/g3401_3500/s3428_maximum_and_minimum_sums_of_at_most_size_k_subsequences/Solution.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ private void buildFactorials(int n) {
4747
}
4848

4949
private long comb(int n, int r) {
50-
if (r < 0 || r > n) {
51-
return 0;
52-
}
5350
return fact[n] * invFact[r] % MOD * invFact[n - r] % MOD;
5451
}
5552

0 commit comments

Comments
 (0)