hdu 1711 Number Sequence(KMP模板题)

2014-11-23 22:04:29 来源: 作者: 浏览: 5
#include
#include
#define N 1000005
#define M 10005
int a[N],b[M];
int next[M];
int n,m;
void setNext()
{
	int i,j;
	i=0;
	j=-1;
	next[i]=j;
	while(i 
 

-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: