线段树建图解决区间与点的连边问题:CF786B Legacy https://blog.csdn.net/qq_42819250/article/details/105219625 一个数被一整个区间取模操作:Gym101201J:Shopping https://blog.csdn.net/qq_42819250/article/details/105025846 寻找区间出现次数最多数字的次数:UVA 11235 Frequent values https://blog.csdn.net/qq_42819250/article/details/105310997