摘要: BZOJ1012,特点是只往后加所以可用单调栈。亦可无脑线段树。 1 #include <bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 5 int m; 6 ll D, last; 7 ll q[200005]; 8 i 阅读全文
posted @ 2019-02-13 00:02 AlphaWA 阅读(120) 评论(0) 推荐(0) 编辑