线段树
文章平均质量分 79
wxyfennie
这个作者很懒,什么都没留下…
展开
-
线段树内容详解
hdu I hate it | 0 | | 1 || 2 | | 3 || 4 || 5 || 6 | | 7 || 8 || 9 || 10 ||11||12||13||14||15| 线段树的结构无非就是原创 2016-10-10 14:14:20 · 337 阅读 · 0 评论 -
HDU1166敌兵布阵-线段树求和
HDU1166敌兵布阵-线段树求和 #include #include #include #include using namespace std; const int maxn = 200005*2; long long n,dat[2*maxn-1]; void init(int n_) { n = 1; while(n<n_)n*=2; for(int i原创 2016-10-10 15:40:22 · 346 阅读 · 0 评论