Rosetta Problems

甲苯先生的线段树

https://www.acwing.com/problem/content/3015