Skip to content

Commit 66c6885

Browse files
authored
Update rmq.hpp
1 parent 6fc407a commit 66c6885

File tree

1 file changed

+1
-1
lines changed
  • library/data_structures_[l,r)

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ template<class T, class F> struct RMQ {
2121
begin(dp[i + 1]), op);
2222
}
2323
}
24-
T query(int l, int r) { // [l, r)
24+
T query(int l, int r) {
2525
assert(l < r);
2626
int lg = __lg(r - l);
2727
return op(dp[lg][l], dp[lg][r - (1 << lg)]);

0 commit comments

Comments
 (0)