We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc407a commit 66c6885Copy full SHA for 66c6885
library/data_structures_[l,r)/rmq.hpp
@@ -21,7 +21,7 @@ template<class T, class F> struct RMQ {
21
begin(dp[i + 1]), op);
22
}
23
24
- T query(int l, int r) { // [l, r)
+ T query(int l, int r) {
25
assert(l < r);
26
int lg = __lg(r - l);
27
return op(dp[lg][l], dp[lg][r - (1 << lg)]);
0 commit comments