Skip to content

Commit e33724e

Browse files
committed
Fix
1 parent 355435a commit e33724e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cp-algo/structures/fenwick.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace cp_algo::structures {
4141
T range_sum(size_t l, size_t r) const {
4242
return prefix_sum(r) - prefix_sum(l);
4343
}
44-
// First r s.t. prefix_sum(r) > k
44+
// First r s.t. prefix_sum(r) >= k
4545
// Assumes data[x] >= 0 for all x
4646
auto prefix_lower_bound(T k) const {
4747
int x = 0;

0 commit comments

Comments
 (0)