![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
Mlong54
这个作者很懒,什么都没留下…
展开
-
树状数组 小结
/* 再次声明本文是转载转载 2014-10-22 16:01:29 · 795 阅读 · 1 评论 -
HDU1166
Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生变动,可能增加或减少若干人手,但这些都逃不过C国的监视。原创 2014-10-22 09:49:29 · 567 阅读 · 0 评论 -
Curious Robin Hood
Robin Hood likes to loot rich people since he helps the poor people with this money. Instead of keeping all the money together he does another trick. He keeps n sacks where he keeps this money. The sa原创 2014-11-06 09:41:55 · 716 阅读 · 0 评论 -
Stars -树状数组
Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars that are not higher an原创 2014-11-06 21:28:02 · 543 阅读 · 0 评论