且未

博客园 首页 新随笔 联系 订阅 管理

2018年8月6日 #

摘要: 两种求最长上升子序列问题第一种:定义dp[i]=以a[i]为末尾的最长上升子序列问题的长度第二种:定义dp[i]=长度为i+1的上升 子序列 中末尾元素的最小值#include #include using namespace std;const int INF =... 阅读全文
posted @ 2018-08-06 20:13 阿聊 阅读(152) 评论(0) 推荐(0)