Rosetta Problems

Persistent Range Affine Range Sum

https://judge.yosupo.jp/problem/persistent_range_affine_range_sum