线段树||树状数组
文章平均质量分 83
hqu_fritz
Always Challenge Miracles
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 4417 Super Mario
Super Mario Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2213 Accepted Submission(s): 1072 Problem Description Mario is world原创 2014-07-04 14:21:35 · 563 阅读 · 0 评论 -
POJ 1990 MooFest
MooFest Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5339 Accepted: 2300 Description Every year, Farmer John's N (1 <= N <= 20,000) cows attend "MooFest原创 2014-09-18 20:57:16 · 796 阅读 · 0 评论 -
POJ 2352 Stars
Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 32958 Accepted: 14400 Description Astronomers often examine star maps where stars are represented by原创 2014-09-18 22:10:24 · 408 阅读 · 0 评论 -
POJ 2886 Who Gets the Most Candies?
Who Gets the Most Candies? Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 10234 Accepted: 3177 Case Time Limit: 2000MS Description N children are si原创 2014-09-19 14:44:53 · 837 阅读 · 0 评论 -
HDU 3874 Necklace
Necklace Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3116 Accepted Submission(s): 1066 Problem Description Mery has a beaut原创 2014-09-18 11:22:54 · 610 阅读 · 0 评论 -
POJ 2182 Lost Cows
Lost Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9274 Accepted: 5969 Description N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In原创 2014-09-19 16:08:59 · 455 阅读 · 0 评论 -
POJ 2828 Buy Tickets
Buy Tickets Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 13592 Accepted: 6789 Description Railway tickets were difficult to buy around the Lunar New Yea原创 2014-09-19 16:38:38 · 438 阅读 · 0 评论 -
POJ 2309 BST
BST Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8619 Accepted: 5245 Description Consider an infinite full binary search tree (see the figure below), th原创 2014-09-19 23:30:55 · 498 阅读 · 0 评论 -
HDU 1540 Tunnel Warfare
Tunnel Warfare Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4366 Accepted Submission(s): 1670 Problem Description During the原创 2014-09-20 00:13:24 · 401 阅读 · 0 评论 -
POJ 2777 Count Color
Count ColorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 35691 Accepted: 10762DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all ki原创 2014-09-20 00:34:56 · 475 阅读 · 0 评论 -
POJ 3368 Frequent values
Frequent values Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 13382 Accepted: 4928 Description You are given a sequence of n integers a1 , a2 , ... , an原创 2014-09-20 01:13:47 · 419 阅读 · 0 评论 -
POJ 3667 Hotel
Hotel Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 12096 Accepted: 5251 Description The cows are journeying north to Thunder Bay in Canada to gain cultu原创 2014-09-19 23:48:38 · 460 阅读 · 0 评论 -
HDU 3397 Sequence operation
Sequence operation Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6272 Accepted Submission(s): 1862 Problem Description lxhgww原创 2014-09-20 00:02:59 · 491 阅读 · 0 评论 -
POJ 1823 Hotel
Hotel Time Limit: 5000MS Memory Limit: 30000K Total Submissions: 2059 Accepted: 882 Description The "Informatics" hotel is one of the most luxurious hotels from Galac原创 2014-09-20 01:27:25 · 583 阅读 · 0 评论 -
CF #12 D Ball
D. Ball time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output N ladies attend the ball in the King's palace. Ever原创 2014-09-20 10:23:18 · 1082 阅读 · 0 评论 -
POJ 3067 Japan
Japan Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21116 Accepted: 5716 Description Japan plans to welcome the ACM ICPC World Finals and a lot of roads原创 2014-09-18 22:02:22 · 501 阅读 · 0 评论 -
POJ 3416 Crossing
Crossing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 1564 Accepted: 726 Description Wintokk has collected a huge amount of coins at THU. One day he had原创 2014-09-18 21:47:59 · 1016 阅读 · 0 评论 -
HDU 4122 Alice's mooncake shop
Alice's mooncake shop Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2795 Accepted Submission(s): 703 Problem Description The M原创 2014-09-18 16:57:53 · 1035 阅读 · 0 评论 -
HDU 4553 约会安排
约会安排 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 81 Accepted Submission(s): 26 Problem Description 寒假来了,又到了小明和女神们约会的季节。 小明虽原创 2013-05-19 01:11:04 · 2218 阅读 · 0 评论 -
POJ 1195 Mobile phones
Mobile phones Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 11530 Accepted: 5284 Description Suppose that the fourth generation mobile phone base stations原创 2012-11-04 13:18:58 · 373 阅读 · 0 评论 -
HDU 2492 Ping pong
Ping pong Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3674 Accepted Submission(s): 1352 Problem Description N(3 Each play原创 2014-07-06 12:10:13 · 435 阅读 · 0 评论 -
HDU 2795 Billboard
Billboard Time Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9620 Accepted Submission(s): 4279 Problem Description At the entrance原创 2014-07-06 14:38:13 · 436 阅读 · 0 评论 -
HDU 4267 A Simple Problem with Integers
A Simple Problem with Integers Time Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3480 Accepted Submission(s): 1076 Problem Descriptio原创 2014-07-06 17:32:57 · 470 阅读 · 0 评论 -
HDU 1556 Color the ball
Color the ball Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8271 Accepted Submission(s): 4239 Problem Description N个气球排成一排,从左原创 2014-07-06 12:56:18 · 439 阅读 · 0 评论 -
HDU 3074 Multiply game
Multiply game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1375 Accepted Submission(s): 472 Problem Description Tired of play原创 2014-07-06 13:50:07 · 494 阅读 · 0 评论 -
HDU 3308 LCIS
LCIS Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3810 Accepted Submission(s): 1724 Problem Description Given n integers. Yo原创 2014-07-07 00:25:00 · 412 阅读 · 0 评论 -
HDU 4046 Panda
Panda Time Limit: 10000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2003 Accepted Submission(s): 686 Problem Description When I wrote down th原创 2014-07-07 13:55:54 · 513 阅读 · 0 评论 -
HDU 4288 Coder
Coder Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2778 Accepted Submission(s): 1104 Problem Description In mathematics a原创 2014-07-07 11:30:29 · 680 阅读 · 0 评论 -
HDU 1394 Minimum Inversion Number
Minimum Inversion Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 9821 Accepted Submission(s): 6060 Problem Description T原创 2014-07-06 15:56:06 · 473 阅读 · 0 评论 -
HDU 4027 Can you answer these queries?
Can you answer these queries? Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 8219 Accepted Submission(s): 1871 Problem Description原创 2014-07-06 19:49:36 · 486 阅读 · 0 评论 -
HDU 4325 Flowers
Flowers Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2201 Accepted Submission(s): 1084 Problem Description As is known to all原创 2014-07-07 22:15:31 · 486 阅读 · 0 评论 -
HDU 4031 Attack
Attack Time Limit: 5000/3000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 1904 Accepted Submission(s): 560 Problem Description Today is the 10th An原创 2014-09-18 15:38:16 · 976 阅读 · 0 评论 -
POJ 3321 Apple Tree
Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 19316 Accepted: 5874 Description There is an apple tree outside of kaka's house. Every autumn, a原创 2014-09-26 11:49:18 · 810 阅读 · 0 评论
分享