Rosetta Problems

LiChaoSegmentTree

https://onlinejudge.u-aizu.ac.jp/problems/3501