Skip to content

Commit d94896b

Browse files
authored
Fix formatting of query function in rmq.hpp
1 parent 3bca96f commit d94896b

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 + 1);
2727
return op(dp[lg][l], dp[lg][r - (1 << lg) + 1]);

0 commit comments

Comments
 (0)