
树状数组
文章平均质量分 79
974792789
不要在能吃苦的年纪追求安逸。
展开
-
4329 - Ping pong uvalive+树状数组
Ping pong uvaliveN (3N20000) ping pong players live along a west-east street(consider the street as a line segment). Each player has a unique skill rank. To improve their skill rank, they often原创 2014-07-19 20:43:33 · 496 阅读 · 0 评论 -
Kingdom uva+树状数组+并查集
KingdomThere were n cities in an ancient kingdom. In the beginning of the kingdom, all cities were isolated. Kings ordered their subjects to construct roads connecting cities. A lot of roads wer原创 2014-07-22 00:59:33 · 517 阅读 · 0 评论 -
1335: 高桥和低桥+csuoj+树状数组+二分
1335: 高桥和低桥Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 436 Solved: 86[Submit][Status][Web Board]Description有个脑筋急转弯是这样的:有距离很近的一高一低两座桥,两次洪水之后高桥被淹了两次,低桥却只被淹了一次,为什么?答案是:因为低桥太低了,第一次洪水退去之后原创 2014-09-04 18:39:28 · 844 阅读 · 0 评论 -
Stars+POJ+数状数组+单点修改+区间查询。
StarsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 32307 Accepted: 14109DescriptionAstronomers often examine star maps where stars are represented by原创 2014-08-09 00:06:32 · 489 阅读 · 0 评论 -
Color the ball+hdu+数状数组区间修改
Color the ballTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9220 Accepted Submission(s): 4714Problem DescriptionN个气球排成一排,从左原创 2014-08-08 23:30:10 · 573 阅读 · 0 评论 -
Coder Ratings+SPOJ+树状数组
Coder RatingsProblem code: RATINGSome of the more elite (and not-so-elite) coders around take part in a certain unnamed programming contest. In said contest, there are multiple t原创 2014-08-09 17:09:02 · 502 阅读 · 0 评论 -
Matrix+POJ+二维树状数组初步
MatrixTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 18387 Accepted: 6919DescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] me原创 2014-08-17 21:23:10 · 459 阅读 · 0 评论 -
A Simple Problem with Integers+hdu+树状数组
A Simple Problem with IntegersTime Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3924 Accepted Submission(s): 1213Problem Descriptio原创 2014-12-14 22:20:39 · 676 阅读 · 0 评论