From 592fa8d5fee3767c46ce4beb41a56b87c132d85f Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 13 Aug 2016 12:11:48 +0800 Subject: [PATCH] Create KMP_int.cpp --- .ACM-Templates/KMP_int.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .ACM-Templates/KMP_int.cpp 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