KMP求最小重复子串的重复次数(poj2406)


#include 
#include
#include
using namespace std;
int len;
int next[1000005];
char s[1000005];
int kmp_next()
{
    int i=0,j=-1;
    next[0]=-1;
    while(i

 

你可能感兴趣的:(test)