![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
better_life30
这个作者很懒,什么都没留下…
展开
-
A Simple Problem with Integers
A Simple Problem with Integers Time Limit : 10000/5000ms (Java/Other) Memory Limit : 262144/131072K (Java/Other) Total Submission(s) : 43 Accepted Submission(s) : 16 Problem Description原创 2014-07-06 11:43:02 · 302 阅读 · 0 评论 -
Ping pong
Ping pong Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 81 Accepted Submission(s) : 27 Problem Description N(3 Each player has转载 2014-07-05 21:12:45 · 514 阅读 · 0 评论 -
(树状数组)Color the ball
Color the ball转载 2014-07-05 21:09:55 · 373 阅读 · 0 评论 -
(树状数组)多校训练7 Segment Game
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5372 官方题解: ##1004. Segment Game 题解:对于新插入的线段,查询有多少个线段左端点大于等于该线段的左端点。 再查询有多少个线段的右端点大于该线段右端点, 两者之差就是答案。用两个树状数组搞定。时间复杂度nlog #include #include #in原创 2015-08-16 16:53:38 · 282 阅读 · 0 评论