会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SkyMaths's Blogs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
2022年11月19日
AC自动机 复习笔记
摘要: 疑问 Q:在 getfail 中怎么保证 bfs 不乱序的 代码 struct ACAM { #define Pt ACAM_N int size = 0; int son[Pt][26]; int fail[Pt]; int insert(char *s) { int sL = strlen(s
阅读全文
posted @ 2022-11-19 16:41 SkyMaths
阅读(21)
评论(0)
推荐(0)
2022年11月18日
马拉车
摘要: 马拉车算法是为了解决最大回文串的问题而产生的,时间复杂度为 $O(n)$
阅读全文
posted @ 2022-11-18 20:37 SkyMaths
阅读(56)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9