会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Asder1228
博客园
首页
新随笔
联系
订阅
管理
2022年2月14日
nlog(n)求lcs
摘要: 把S1中的字符按照s2中的位置进行存储,按s1的位置顺序倒着存进新的序列里,求个LIS即可。 #include #include #include #include using namespace std; const int M = 110000; vector A[M]; int s[M],t[
阅读全文
posted @ 2022-02-14 06:14 Asder1228
阅读(81)
评论(3)
推荐(2)
编辑
公告