会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
金木换
博客园
首页
新随笔
联系
订阅
管理
2021年3月17日
D. Gargari and Permutations
摘要: Link dp[i]: 以a[1][i]结尾的最长公共子序列长度 dp[i]=dp[j]+1(1<=j<=i-1) 只需满足a[1][j]这个值在每个排列中都在a[1][i]这个值的前面 ##code #include<bits/stdc++.h> using namespace std; type
阅读全文
posted @ 2021-03-17 14:39 金木换
阅读(47)
评论(0)
推荐(0)
公告