二分
文章平均质量分 76
xaphoenix
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj2104 K-th Number
题目链接:http://poj.org/problem?id=2104 划分树模板题,模板来自于《程序设计解题策略》 #include #include #include #include using namespace std; const int maxn=100010; int tree[30][maxn]; int sorted[maxn]; int toleft[30原创 2015-11-28 15:55:06 · 371 阅读 · 0 评论 -
hdu4417 Super Mario
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4417 二分查找+划分树 #include #include #include #include using namespace std; const int maxn=100010; int tree[30][maxn]; int sorted[maxn]; int tol原创 2015-11-28 16:12:41 · 342 阅读 · 0 评论
分享