会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LJB的Blog
sbljb
博客园
首页
新随笔
联系
管理
随笔分类 -
数据结构—CDQ分治
洛谷P3810 【模板】三维偏序(陌上花开) 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)
公告