主席树
z岁月无声
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ-2104 K-th Number
地址:http://poj.org/problem?id=2104 思路:主席树模板题。。 Code: #include<iostream> #include<algorithm> #include<cstdio> using namespace std; const int MAX_N=100005; struct node{ int x; ...原创 2018-10-11 16:57:15 · 328 阅读 · 0 评论 -
牛客小白月赛9-E 换个角度思考
地址:https://ac.nowcoder.com/acm/contest/275/E 思路:主席树 || 树状数组 主席树 Code: #include<iostream> #include<algorithm> #include<cstdio> using namespace std; const int MAX_N=100005; str...原创 2018-11-21 17:54:20 · 252 阅读 · 0 评论
分享