洛谷P3512 [POI2010]PIL-Pilots 题解题目链接:P3512 [POI2010]PIL-Pilots
题意:给定 $n$ 个数,找一个最长区间,使得区间中的最大值减最小值不超过 $k$
题面写的太烂了
考虑用两个单
2022-07-17