![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM_线段树
名字太长容易被发现并打死
这个作者很懒,什么都没留下…
展开
-
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的任务就是要监视这...原创 2019-08-08 19:32:25 · 617 阅读 · 0 评论 -
HDU -1754 I Hate It(线段树)
I Hate ItTime Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一...原创 2019-08-08 19:46:56 · 562 阅读 · 0 评论 -
POJ -3468 A Simple Problem with Integers(线段树+lazy数组)
A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KDescriptionYou have N integers, A1, A2, … , AN. You need to deal with two kinds of operations. One type of operation is ...原创 2019-08-09 11:04:29 · 553 阅读 · 0 评论 -
POJ -2104 K-th Number (线段树)
K-th NumberTime Limit: 20000MSMemory Limit: 65536KDescriptionYou are working for Macrohard company in data structures department. After failing your previous task about key insertion you we...原创 2019-08-09 19:53:52 · 824 阅读 · 0 评论 -
POJ -2299 Ultra-QuickSort(归并排序)
Ultra-QuickSortTime Limit: 7000MSMemory Limit: 65536KDescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integer...原创 2019-08-09 10:12:30 · 571 阅读 · 0 评论