会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Waitti
新随笔
联系
管理
2020年7月19日
最长回文子串与最长回文子序列(dp,Manacher),合并回文子串
摘要: 最长回文子序列 #include <bits/stdc++.h> using namespace std; const int N = 1010, INF = 0x3f3f3f3f; int dp[N][N], n; string str; void longest_palindromic_subs
阅读全文
posted @ 2020-07-19 11:06 Waitti
阅读(150)
评论(0)
推荐(0)
编辑