遅延セグメント木
https://tjkendev.github.io/procon-library/python/range_query/rmq_raq_segment_tree_lp.html
https://smijake3.hatenablog.com/entry/2018/11/03/100133
https://maspypy.com/segment-tree-のお勉強2