摘要:
#include<iostream>#include<stdio.h>#include<cstring>using namespace std; char a[501][210]; char str[10001]; int num[10001][501]; int next[10010];void get_next(char* p, int* next){ int i, j; i = 0; j = -1; next[0] = -1; while (i < strlen(p)) { if (j == -1 || p[i] ... 阅读全文
posted @ 2013-06-01 19:01
煮人为乐
阅读(141)
评论(0)
推荐(0)