摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3308 题目很好懂,就是单点更新,然后求区间的最长上升子序列。 线段树区间合并问题,注意合并的条件是a[mid + 1] > a[mid],写的细心点就好了。 阅读全文
posted @ 2016-05-28 22:28 Recoder 阅读(159) 评论(0) 推荐(0) 编辑