codeforces gym三星题补题 by ZZH

I will try my best
gym100947J 二分+DP 注意到最多有2000个区间

原文地址:https://www.cnblogs.com/ACGO/p/7065576.html