PTA 森森快递(线段树区间修改)

   先贪心,筛掉包含小区间的大区间(大区间浪费资源),相交区间不影响,按顺序查询修改即可。   #include<cstdio> #include<algorithm> #include<iostream> #include<vector> using namespace std; const int maxn = 1e5 + 10; typedef long long ll; typedef
相关文章
相关标签/搜索