Skip to content

Commit a2a9464

Browse files
committed
fix docs
1 parent 3d18075 commit a2a9464

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! return value <= x;
1717
//! });
1818
//! // idx in [l, r]
19-
//! // f(op(a[idx+1], ..., a[r-2], a[r-1])) is true
20-
//! // f(op(a[idx], ..., a[r-2], a[r-1])) is false
19+
//! // f(op(a[idx], ..., a[r-2], a[r-1])) is true
20+
//! // f(op(a[idx-1], ..., a[r-2], a[r-1])) is false
2121
//! @endcode
2222
//! @time O(n + q log n)
2323
//! @space O(n)

0 commit comments

Comments
 (0)