
线段树
文章平均质量分 80
userluoxuan
这个作者很懒,什么都没留下…
展开
-
Billboard(线段树)
解题思路:题目大意是原创 2014-08-11 17:22:34 · 472 阅读 · 0 评论 -
Minimum Inversion Number(线段树)
解题思路:用线段树求逆序对。只需要原创 2014-08-11 17:07:19 · 691 阅读 · 1 评论 -
I Hate It(线段树)
解题思路:线段树,点更新,求原创 2014-08-11 17:05:44 · 475 阅读 · 0 评论 -
Panda(线段树)
解题思路:用每个字符的下标记录原创 2014-08-14 16:19:59 · 768 阅读 · 0 评论 -
A Simple Problem with Integers(线段树)
解题思路:区间更新,区间求和的模板题。AC代码:原创 2014-08-14 15:15:35 · 519 阅读 · 0 评论 -
Crane(线段树)
DescriptionACM has bought a new crane (crane -- jeřáb) . The crane consists of n segments of various lengths, connected by flexible joints. The end of the i-th segment is joined to the beginning原创 2014-08-14 15:17:42 · 1173 阅读 · 1 评论 -
线段树模板
单点更新,区间求和:转载 2014-08-14 20:21:06 · 546 阅读 · 0 评论 -
Mayor's posters(线段树 + 离散化)
DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city coun原创 2014-08-14 15:50:50 · 1263 阅读 · 2 评论