排序:
默认
按更新时间
按访问量

Can you answer these queries? HDU - 4027 (线段树单点)

 Can you answer these queries?  HDU - 4027  A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our...

2018-10-10 19:01:17

阅读数:23

评论数:0

Mayor's posters POJ - 2528(线段树+离散化)

Mayor's posters  POJ - 2528 The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing th...

2018-10-09 22:19:09

阅读数:13

评论数:0

Balanced Lineup POJ - 3264 (线段树求最值水题)

Balanced Lineup  POJ - 3264  For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John dec...

2018-10-08 22:07:43

阅读数:10

评论数:0

Count the Colors ZOJ - 1610 (线段树,区间覆盖求染色段个数)

Count the Colors  ZOJ - 1610  Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones...

2018-10-08 21:19:06

阅读数:13

评论数:0

A Simple Problem with Integers POJ - 3468(线段树-区间更新模板题)

A Simple Problem with Integers  POJ - 3468 You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operat...

2018-10-06 21:19:55

阅读数:31

评论数:0

Lost Cows POJ - 2182 (线段树,排队问题)

 Lost Cows  POJ - 2182  N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgm...

2018-09-29 09:54:25

阅读数:28

评论数:0

An easy problem HDU - 5475 (线段树+标记)

                                          An easy problem                                                                                           ...

2018-09-28 22:49:29

阅读数:27

评论数:0

Buy Tickets POJ - 2828 (线段树+思维(逆序))

                                     Buy Tickets        POJ - 2828    Railway tickets were difficult to buy around the Lunar New Year in China, so w...

2018-09-27 22:56:51

阅读数:21

评论数:0

Multiply game HDU - 3074

                                                Multiply game     HDU - 3074  Tired of playing computer games, alpc23 is planning to play a game on ...

2018-09-26 20:45:05

阅读数:20

评论数:0

线段树Billboard HDU - 2795

                                                  Billboard         HDU - 2795  At the entrance to the university, there is a huge rectangular billb...

2018-09-25 16:49:55

阅读数:20

评论数:0

I Hate It HDU - 1754(线段树-单点更新模板题)

I Hate It  HDU - 1754 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。  这让很多学生很反感。  不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input ...

2018-08-10 10:43:40

阅读数:53

评论数:0

线段树(原理+模板)

本文来源于大佬的讲解: 1:线段树从0开始:https://blog.csdn.net/zearot/article/details/52280189 2:详解:https://www.cnblogs.com/AC-King/p/7789013.html(包含扫描线,可持久化(主席树)) 综...

2018-08-10 09:47:05

阅读数:79

评论数:0

敌兵布阵 HDU - 1166(树状数组-模板&&线段树写法)

敌兵布阵  HDU - 1166 C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的...

2018-08-01 22:59:38

阅读数:35

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭