
线段树
文章平均质量分 84
J_Sure
唯苦修深思方能顿悟
展开
-
HDU-OJ-1754 I Hate It
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就原创 2014-04-01 15:28:24 · 890 阅读 · 0 评论 -
HDU-1166 敌兵布阵
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就原创 2014-03-15 15:18:29 · 1204 阅读 · 0 评论 -
POJ-2892 Tunnel Warfare
Tunnel WarfareTime Limit: 1000MS Memory Limit: 131072K DescriptionDuring the War of Resistance Against Japan, tunnel warfare was carried out extensively in the原创 2014-09-01 20:24:42 · 756 阅读 · 0 评论 -
AOJ-AHU-OJ-351 求最值之差
求最值之差Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescription给出N个数,求第a个数到第b个数之间最大的数减去最小的数的结果InputN(N小于100,000),M(M小于100,000)接下来有N个数接下来M组范围,所有数均在[0,231-1]内每原创 2014-03-15 20:20:45 · 1480 阅读 · 0 评论 -
Codeforces-46D Parking Lot
D. Parking Lottime limit per test2 secondsmemory limit per test256 megabytesNowadays it is becoming increasingly difficult to park a car in cities successfully. Let's imagine a原创 2014-08-27 23:34:07 · 1107 阅读 · 0 评论 -
HDU-3308 LCIS
LCISTime Limit: 6000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4163 Accepted Submission(s): 1895Problem DescriptionGiven n integers.You原创 2014-08-27 20:00:57 · 838 阅读 · 0 评论 -
POJ-3667 Hotel
HotelTime Limit: 3000MS Memory Limit: 65536K DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation原创 2014-08-27 15:55:55 · 838 阅读 · 0 评论 -
POJ-1436 Horizontally Visible Segments
Horizontally Visible SegmentsTime Limit: 5000MS Memory Limit: 65536KDescriptionThere is a number of disjoint vertical line segments in the plane. We say that two segments are原创 2014-08-27 12:12:10 · 812 阅读 · 0 评论 -
POJ-3225 Help with Intervals
Help with IntervalsTime Limit: 6000MS Memory Limit: 131072KCase Time Limit: 2000MSDescriptionLogLoader, Inc. is a company specialized in providing products for analyz原创 2014-08-26 17:34:59 · 1412 阅读 · 0 评论 -
POJ-2528 Mayor's posters
Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 42736 Accepted: 12450DescriptionThe citizens of Bytetown, AB, could not stand that the cand原创 2014-08-24 20:05:02 · 700 阅读 · 0 评论 -
HDU-2795 Billboard
BillboardTime Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionAt the entrance to the university, there is a huge rectangular billboard of原创 2014-08-23 13:16:57 · 902 阅读 · 0 评论 -
POJ-2886 Who Gets the Most Candies?
Who Gets the Most Candies?Time Limit: 5000MS Memory Limit: 131072KCase Time Limit: 2000MSDescriptionN children are sitting in a circle to play a game.The children a原创 2014-08-23 21:04:04 · 838 阅读 · 0 评论 -
HDU-3397 Sequence operation
Sequence operationTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Descriptionlxhgww got a sequence contains n characters which are all '0's or '原创 2014-09-05 10:37:02 · 817 阅读 · 0 评论 -
HDU-OJ-1698 Just a Hook
Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thin原创 2014-04-12 15:52:10 · 938 阅读 · 0 评论 -
POJ-2828 Buy Tickets
Buy TicketsTime Limit: 4000MS Memory Limit: 65536K DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early原创 2014-04-11 22:07:18 · 1165 阅读 · 0 评论 -
HDU-OJ-2795 Billboard
BillboardTime Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionAt the entrance to the university, there is a huge rectangular billboard o原创 2014-04-11 17:02:59 · 1056 阅读 · 0 评论 -
HDU-1394 Minimum Inversion Number
Minimum Inversion NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionThe inversion number of a given number sequence a1, a2, ...,原创 2014-04-05 14:15:03 · 928 阅读 · 0 评论 -
【线段树】线段树模板 胡浩版
线段树模板 胡浩版原创 2014-12-19 16:53:14 · 1856 阅读 · 0 评论