Rosetta Problems

Range Chmin Chmax Add Range Sum

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