线段树の进阶1:https://www.luogu.com.cn/article/r1mp3hga 线段树の进阶2:https://www.cnblogs.com/alex-wei/p/segment_tree_yyds.html 扫描线:https://blog.csdn.net/Zz_0913/article/details/135128515 势能线段树/吉司机线段树:https://www.luogu.com.cn/article/6xb7hbqv