Skip to content

Commit 7339f5f

Browse files
authored
Update count-k-reducible-numbers-less-than-n.cpp
1 parent c0566d4 commit 7339f5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

C++/count-k-reducible-numbers-less-than-n.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class Solution2 {
5151
}
5252
return (((static_cast<int64_t>(fact[n]) * inv_fact[n - k]) % MOD) * inv_fact[k]) % MOD;
5353
};
54+
5455
while (size(s) - 1 >= size(cnt)) { // cached
5556
cnt.emplace_back(cnt[__builtin_popcount(size(cnt))] + 1);
5657
}

0 commit comments

Comments
 (0)