会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
simonG
博客园
首页
新随笔
联系
订阅
管理
2022年9月3日
22.9.3 总结
摘要: A 求字符串插入多少字符后可以变为回文串。 将字符串翻转后与原字符串求最长公共子串。 $ans=\min(i+j-2*f_{i,j}).(i+j=n-(n\mod 2))$ code #include<algorithm> #include<cstdio> #include<cstring> #in
阅读全文
posted @ 2022-09-03 16:28 s1monG
阅读(35)
评论(0)
推荐(0)
公告