Create 树状数组+kmp