版本比较
偶遇爆囊韩国题,拼尽全力无法战胜
正文
增加 1 行删除 1 行
21 行未改动22232425262627282930122 行未改动全部展开21 行未改动 struct pii{int l,r,w,c; bool operator<(const pii &a)const{return l<a.l||l==a.l&&w>a.w;} }p[20][N],tp[N]; struct itv{int l,r,w; bool operator<(const itv &a)const{return l<a.l;} bool operator<(const itv &a)const{return l<a.l;} }q[20][N],tq[N]; int mx[N],de=131072;int td[N]; int tx[20][N],pt[N],ans[N],id[N]; int ch[20][N];bool ex[N],nok[N];122 行未改动全部展开