PyRival
PyRival copied to clipboard
Refactor LazySegmentTree to be easier to modify
Haven't tested speed or correctness yet
Example usage: https://codeforces.com/contest/2027/submission/290258327 (lazy segment tree is overkill for this problem but demonstrates the usage)