diff --git a/.ACM-Templates/KMP_int.cpp b/.ACM-Templates/KMP_int.cpp new file mode 100644 index 0000000..16d8bdd --- /dev/null +++ b/.ACM-Templates/KMP_int.cpp @@ -0,0 +1,23 @@ +void MakeNext(int* P,int M,int* Next){ + Next[0] = -1; + int i = 0, j = -1; + while(i