KMP算法的一个C语言实现

KMP算法 -> 传送门 代码有误,调试中= = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 #include <stdlib.h> #include <stdio.h> #include <string.h>   int main() { char a[] = "This is a test for the --kmp algori--kmpthm."; [...]