Skip to content

Commit de6d08e

Browse files
authored
Refactor query method to improve readability
1 parent 3810baa commit de6d08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ template<class T, class F> struct disjoint_rmq {
2525
}
2626
}
2727
}
28-
T query(int l, int r) { // [l, r]
28+
T query(int l, int r) {
2929
if (l == r) return dp[0][l];
3030
int lg = __lg(l ^ r);
3131
return op(dp[lg][l], dp[lg][r]);

0 commit comments

Comments
 (0)