线段树
文章平均质量分 75
追什么风筝
这个作者很懒,什么都没留下…
展开
-
hdu-6345 子串查询
子串查询 Accepts: 4117 Submissions: 16906 Time Limit: 3500/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description 度度熊的字符串课堂开始了!要以像度度熊一样的天才为目标,努力奋斗哦! 为了检验你是否具备不听课的资质,度...原创 2018-08-05 23:35:09 · 319 阅读 · 0 评论 -
poj-3468 A Simple Problem with Integers(线段树区间更新模板题)
Description You haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is to...原创 2018-08-15 10:23:35 · 113 阅读 · 0 评论 -
hdu-1166 敌兵布阵(线段树单点更新模板题)
敌兵布阵 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 122834 Accepted Submission(s): 51442 Problem Description C国的死对头A国...原创 2018-08-15 10:28:03 · 131 阅读 · 0 评论 -
Ryuji doesn't want to study(线段树)
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfortunately, the longer he learns, the fewer he gets. That m...原创 2018-09-11 13:05:54 · 217 阅读 · 0 评论