fix: add comment on sep accumulators on query
This commit is contained in:
@@ -64,6 +64,7 @@ class IterSegTree {
|
|||||||
result = combine_(result, seg_tree_[--right]);
|
result = combine_(result, seg_tree_[--right]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: if you separate, MUST combine at the end
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user