
最长上升子序列
Kirito_Acmer
这个作者很懒,什么都没留下…
展开
-
hdu5489 Removed Interval
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 757 Accepted Submission(s): 282 Problem Description Given a sequence of numbers A原创 2015-10-01 20:42:35 · 814 阅读 · 0 评论 -
codeforces #345 (Div. 1) D. Zip-line (线段树+最长上升子序列)
Vasya has decided to build a zip-line on trees of a nearby forest. He wants the line to be as long as possible but he doesn't remember exactly the heights of all trees in the forest. He is sure that h原创 2016-03-29 14:05:25 · 984 阅读 · 0 评论 -
最长下降序列——中高级
Description 给你一串整数,从左到右按顺序挑出一些数字,构成严格下降序列,问最长能构成多长 如6个数4 5 2 4 2 2, 那么最长可以挑出5 4 2,长度为3 Input 首先输出T(T 每组数据: 首先输入n表示有几个数(1 后面一行跟着n个整数 Output 对于每个样例输出一个数字,表示最长的长度 Sample Input 1 6 4 5原创 2015-05-28 18:38:05 · 970 阅读 · 0 评论 -
hdu4521 小明系列问题——小明序列
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 2346 Accepted Submission(s): 734 Problem Description 大家都知道小明最喜欢研究跟序列有关的问题了,可是也就原创 2015-09-30 18:52:44 · 712 阅读 · 0 评论