树状数组
文章平均质量分 64
朱仙令
这个作者很懒,什么都没留下…
展开
-
D - Stars
Description 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原创 2016-07-30 13:54:28 · 346 阅读 · 0 评论 -
H - 敌兵布阵
Description Lily 特别喜欢养花,但是由于她的花特别多,所以照料这些花就变得不太容易。她把她的花依次排成一行,每盆花都有一个美观值。如果Lily把某盆花照料的好的话,这盆花的美观值就会上升,如果照料的不好的话,这盆花的美观值就会下降。有时,Lily想知道某段连续的花的美观值之和是多少,但是,Lily的算术不是很好,你能快速地告诉她结果吗?原创 2016-07-30 14:19:34 · 445 阅读 · 0 评论