正文
增加 4 行删除 2 行
187 行未改动全部展开188189190191192193194195196197198199112 行未改动全部展开312313314315187 行未改动全部展开$$其中 $S$ 与不同容量的分布及其在各批次中的变化有关。**注意:** 时间复杂度不是严格 $O((n+m)\log n)$。## 五、参考代码```cpp line-numbers#include <bits/stdc++.h>using namespace std;using ll = long long;112 行未改动全部展开}return 0;}```187 行未改动全部展开188189190191192193194195196197198199112 行未改动全部展开312313314315316317187 行未改动全部展开$$其中 $S$ 与不同容量的分布及其在各批次中的变化有关。**注意:** 时间复杂度最劣 $O((2\cdot n+m)\log n)$。## 五、参考代码::::success[AC code]```cpp line-numbers#include <bits/stdc++.h>using namespace std;using ll = long long;112 行未改动全部展开}return 0;}```::::