会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
摸鱼选手LLF
博客园
首页
新随笔
联系
订阅
管理
2021年5月11日
敏感词过滤 AC自动机
摘要: 复杂度n^2 ,没想出来怎么优化,‘*’赋值可以差分写,不过不减复杂度 #include <queue> #include <cstdlib> #include <cmath> #include <cstdio> #include <string> #include <cstring> #inclu
阅读全文
posted @ 2021-05-11 20:05 摸鱼选手LLF
阅读(63)
评论(0)
推荐(0)
公告