会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不积跬步无以至千里,不积小流无以成江海
无使断绝,不懂就学!
博客园
首页
新随笔
联系
管理
订阅
2018年10月13日
主席树模板
摘要: #include #include #include #include using namespace std; const int maxn = 1e5 + 10; int n, m; int cnt; struct node{ int L, R;//分别指向左右子树 int sum;//该节点所管辖区间范围内数的个数 node(){ sum = 0; ...
阅读全文
posted @ 2018-10-13 21:22 TTTCoder
阅读(255)
评论(0)
推荐(0)
编辑
公告