会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
あかり
きっとできる
首页
新随笔
管理
2020年9月5日
895. 最长上升子序列
摘要: LIS:最长上升子序列问题,经典dp问题。 状态用一维来表示f(i) #include<iostream> using namespace std; const int N = 1010; int f[N]; int s[N]; int n, res; int main(){ cin >> n; f
阅读全文
posted @ 2020-09-05 20:30 yys_c
阅读(126)
评论(0)
推荐(0)