![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线段树
文章平均质量分 88
阿阿阿黄
后续文章更新:https://segmentfault.com/u/aaahuang
展开
-
nyoj--1185
最大最小值时间限制:1000 ms | 内存限制:65535 KB难度:2描述给出N个整数,执行M次询问。对于每次询问,首先输入三个整数C、L、R: 如果C等于1,输出第L个数到第R个数之间的最小值; 如果C等于2,输出第L个数到第R个数之间的最大值; 如果C等于3,输出第L个数到第R个数之间的最小值与最大值的和原创 2015-11-22 22:03:23 · 268 阅读 · 0 评论 -
zoj--1610
Count the ColorsTime Limit: 2 Seconds Memory Limit: 65536 KBPainting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your ta原创 2016-01-29 22:21:28 · 412 阅读 · 0 评论 -
hdu--1556
Color the ballTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13712 Accepted Submission(s): 6889Problem DescriptionN个气球排成一排,从原创 2015-11-23 12:51:03 · 301 阅读 · 0 评论 -
poj--2528
Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 53838 Accepted: 15635DescriptionThe citizens of Bytetown, AB, could not stand that the ca原创 2016-01-28 22:37:32 · 301 阅读 · 0 评论 -
hdu--1754
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 54756 Accepted Submission(s): 21421Problem Description很多学校流行一种比较的习惯。原创 2015-11-22 17:37:24 · 272 阅读 · 0 评论 -
hdu--1698
Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24217 Accepted Submission(s): 12098Problem DescriptionIn the game原创 2015-11-25 12:55:03 · 227 阅读 · 0 评论 -
hpu--1721(离散化)
1721: 感恩节KK专场——雪人的高度时间限制: 1 Sec 内存限制: 128 MB提交: 88 解决: 39[提交][状态][讨论版]题目描述大雪过后,KK决定在春秋大道的某些区间上堆雪人。现在KK遇到了一道统计雪人高度的难题,请你帮帮他吧。注:KK堆雪人前春秋大道上是没有雪人的即所有位置雪人高度为0。输入给定一个整数t,表示有t(原创 2015-12-10 19:29:51 · 304 阅读 · 0 评论 -
hdu--1166
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 63567 Accepted Submission(s): 26814Problem DescriptionC国的死对头A国这段时间正在进行军事演原创 2015-11-22 20:58:29 · 290 阅读 · 0 评论 -
hdu--3468(线段树+lazy思想)
A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072KTotal Submissions: 82238 Accepted: 25451Case Time Limit: 2000MSDescriptionYou have N i原创 2015-11-23 12:23:27 · 322 阅读 · 0 评论 -
hdu--4027(线段树更新操作的变形)
Can you answer these queries?Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 11488 Accepted Submission(s): 2693Problem Descriptio原创 2016-01-29 23:51:33 · 376 阅读 · 0 评论