随笔分类 -  数据结构—CDQ分治

摘要:#include using namespace std; const int maxn=1e6+7; int n,p; int mx,tot; struct node{ int a,b,c; }s[maxn*4];//cnt是统计相同的序列数 struct newnode{ int a,b,c,cnt,ans; }k[maxn*4]; int c[maxn]; int l... 阅读全文
posted @ 2019-07-11 20:49 JBLee 阅读(141) 评论(0) 推荐(0)