摘要:
#include <stdio.h>#include <iostream>#include <fstream>#include <vector>#include <exception>#include <cstring>#include <stdlib.h>using namespace std;const int Len=10000;const int L=1000005;int next[Len+5];int str2[Len+5],str1[L];void getNext(int next[],int s 阅读全文
posted @ 2012-06-08 16:19
wuzhibin
阅读(600)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <iostream>#include <fstream>#include <vector>#include <exception>#include <cstring>#include <stdlib.h>using namespace std;const int Len=1000000;int next[Len+5];void getNext(int next[],char str[]){ int len=strlen(str); int i=0,j=-1; 阅读全文
posted @ 2012-06-08 16:02
wuzhibin
阅读(389)
评论(0)
推荐(0)
摘要:
/*This Code is Submitted by billforum for Problem 1952 at 2012-06-08 15:39:09*/#include <stdio.h>#include <iostream>#include <fstream>#include <vector>#include <exception>#include <cstring>#include <stdlib.h>using namespace std;const int Len=1000000;int next 阅读全文
posted @ 2012-06-08 15:42
wuzhibin
阅读(221)
评论(0)
推荐(0)

浙公网安备 33010602011771号