Skip to content

Commit b8f41d4

Browse files
authored
Remove comments from update and query methods
1 parent de6d08e commit b8f41d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct seg_tree {
2222
lazy[v] = 0;
2323
}
2424
}
25-
void update(int l, int r, ll change) { // [l, r]
25+
void update(int l, int r, ll change) {
2626
update_impl(l, r, change, 0, n - 1, 1);
2727
}
2828
void update_impl(int l, int r, ll change, int tl, int tr,
@@ -36,7 +36,7 @@ struct seg_tree {
3636
update_impl(l, r, change, tm + 1, tr, 2 * v + 1);
3737
tree[v] = op(tree[2 * v], tree[2 * v + 1]);
3838
}
39-
ll query(int l, int r) { // [l, r]
39+
ll query(int l, int r) {
4040
return query_impl(l, r, 0, n - 1, 1);
4141
}
4242
ll query_impl(int l, int r, int tl, int tr, int v) {

0 commit comments

Comments
 (0)