会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦中。。
博客园
首页
新随笔
联系
订阅
管理
2015年9月24日
HDU 1711 Number Sequence
摘要: 在nnext数组保存前面的字符的前缀与后缀的最大匹配,即nnext[i]保存的是当i匹配不成功时应带回朔到的位置#include #include #include using namespace std;#define maxn 1000050int s1[maxn];int s2[maxn];i...
阅读全文
posted @ 2015-09-24 09:43 梦中。。
阅读(109)
评论(0)
推荐(0)
公告