线段树
__铭
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 2528 Mayor's posters (线段树+离散化)
题目链接:http://poj.org/problem?id=2528题目大意: 给出n个海报的左端,右端,按照顺序贴上海报求贴完后可以看到多少海报?方法:先将海报数据离散化,然后线段树查询#include #include #include #include using namespace std;const int maxn = 10010;struct原创 2016-02-26 21:14:04 · 527 阅读 · 0 评论 -
POJ 2528 Mayor's posters(离散化+线段树)
Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 55517 Accepted: 16098DescriptionThe citizens of Bytetown, AB, could not stand that the原创 2016-04-21 20:39:02 · 1232 阅读 · 0 评论 -
HDU 4521 小明系列问题——小明序列(线段树+树状数组)
小明系列问题——小明序列Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2499 Accepted Submission(s): 778Problem Description 大家都知道小明最喜欢研究跟序列有原创 2015-12-05 18:15:16 · 569 阅读 · 0 评论
分享