会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
can丶
博客园
首页
新随笔
联系
管理
订阅
2017年11月7日
//poj 3461 Oulipo 最简单的KMP题,找出第一个字符串在第二个字符串中出现次数。
摘要: #include<stdio.h> #define M 1000010 char s[M],t[M]; int next[M],sum; void getNext()//求next数组 { int i,j; next[0]=-1; for(i=1,j=-1;s[i];i++){ while(j!=-
阅读全文
posted @ 2017-11-07 21:42 can丶
阅读(288)
评论(0)
推荐(0)
编辑
公告