摘要: 其实这题太水了 就是很简单的线段树维护cdq。 前对后影响用线段树维护一下即可。 具体看代码: 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #define N 20004 5 using namespace std; 阅读全文
posted @ 2018-11-21 16:25 stddddd 阅读(303) 评论(2) 推荐(0) 编辑