
数据结构
文章平均质量分 83
candy糖酱
这个作者很懒,什么都没留下…
展开
-
【转】关于线段树
http://www.ahathinking.com/archives/136.html转载 2013-11-25 23:31:20 · 742 阅读 · 0 评论 -
CCNU-线段树练习题-A-单点更新1
A - 单点更新1 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些原创 2013-11-26 19:15:23 · 856 阅读 · 0 评论 -
ccnu-线段树联系-单点更新2-B
B - 单点更新2Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序原创 2013-11-27 18:25:06 · 824 阅读 · 0 评论 -
ccnu-线段树-单点更新3-C
C - 单点更新3 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description The inversion number of a given number sequence a1, a2, ..., an is the number o原创 2013-11-27 19:49:56 · 776 阅读 · 0 评论 -
ccnu-线段树-简单的区间更新(三题)
题目一:http://poj.org/problem?id=3468 Description You have N integers, 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原创 2013-12-08 00:50:53 · 824 阅读 · 0 评论