Skip to content

Commit 6405c5e

Browse files
authored
Fix comment to clarify index search condition
1 parent 1ea3e05 commit 6405c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/data_structures_[l,r]/seg_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//! tree st(n, INT_MAX, ranges::min);
1414
//! int idx = st.walk(l, r, [&](int value) {
1515
//! return value <= x;
16-
//! }); // smallest index in [l, r] s.t. f is true
16+
//! }); // smallest index in [l, r] s.t. f is false
1717
//! }
1818
//! @endcode
1919
//! @time O(n + q log n)

0 commit comments

Comments
 (0)