Skip to content

Commit 066c0e8

Browse files
authored
Update seg_tree.hpp
1 parent 66c6885 commit 066c0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ template<class T, class F> struct tree {
1919
for (s[i += n] = val; i /= 2;)
2020
s[i] = op(s[2 * i], s[2 * i + 1]);
2121
}
22-
T query(int l, int r) { // [l, r)
22+
T query(int l, int r) {
2323
T x = unit, y = unit;
2424
for (l += n, r += n; l < r; l /= 2, r /= 2) {
2525
if (l % 2) x = op(x, s[l++]);

0 commit comments

Comments
 (0)