线段树:
讲解:https://blog.csdn.net/zearot/article/details/48299459
视频介绍:https://www.bilibili.com/video/BV1QT4y1Z7rR?from=search&seid=12466859942766325431&spm_id_from=333.337.0.0
内存泄漏和内存溢出
https://www.cnblogs.com/rgever/p/8899758.html