对KMP算法做一些修改,在对[...]内的字符比较这里定义新的比较函数 #include <iostream> #include <string> #include <cstring> #include <vector> using namespace std; const int MAXN = 1000; const int MAXM = 100; string text[MAXN]; string pattern[MAXM]; int Next[MAXM]; int n, m; char lower(char c) { if(...