![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线段树
文章平均质量分 79
black_miracle
这个作者很懒,什么都没留下…
展开
-
HDU 1540 线段树区间合并
Tunnel Warfare Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description During the War of Resistance Against Japan, tunnel warfare was carri原创 2016-09-23 15:26:44 · 336 阅读 · 0 评论 -
SPOJ DWARFLOG 线段树
Manipulate Dwarfs #datastructures In a small village beyond seven hills and seven seas, Snow White lives together with N dwarves who spend all their time eating and playing League of Legen原创 2017-02-02 15:19:21 · 327 阅读 · 0 评论 -
SPOJ IITWPC4F 线段树
Gopu and the Grid Problem Gopu is interested in the integer co-ordinates of the X-Y plane (0 Type 1: x l r, meaning: flip all the lamps whose x-coordinate are between l and r (both inclus原创 2017-03-03 22:46:51 · 410 阅读 · 0 评论 -
SPOJ BGSHOOT 线段树
BGSHOOT - Shoot and kill The problem is about Mr.BG who is a great hunter. Today he has gone to a dense forest for hunting and killing animals. Sadly, he has only one bullet in his gun. He原创 2017-03-20 19:59:51 · 304 阅读 · 0 评论 -
Codeforces 461C 线段树
Appleman and a Sheet of Paper time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Appleman has a very big sheet原创 2017-04-01 15:24:16 · 307 阅读 · 0 评论 -
codeforces 1100F
传送门:http://codeforces.com/contest/1099/problem/F 题意: 两个人在玩游戏。 第一个人从根结点出发。 每次可以选择往下走一个结点或者结束游戏返回根结点并选择性的吃结点上的饼干。 第二个人在第一个人每次向下走之后可以选择一个当前节点的儿子节点ban掉。 第一个人一定要在规定时间内返回到根结点,问最多能吃多少块饼干。 题解: 假设我们在t结...原创 2019-01-16 13:16:38 · 335 阅读 · 0 评论