https://www.cnblogs.com/Bw-Orzzzzz/p/10829082.html
https://blog.csdn.net/henulmh/article/details/98756541
线段树(单点修改+区间查询)&(区间修改+区间查询)
原文:https://www.cnblogs.com/hazel-wu/p/11938597.html