摘要:
#include <iostream>using namespace std;#define STR_SIZE 1024#define PAR_SIZE 128char str[STR_SIZE] = {"abaababaddecab"};char par[PAR_SIZE] = {"abaabcaba"};void printarray(int *a, int size);int cal_k2(char *par, int *par_next, int k2, int j);void cal_next(char *par, int *par 阅读全文