Ciyeblog - KMP算法 的评论 https://www.ciyekua.cn/index.php/diary/167.html 1.求next数组 ``` void get_next(int m) { ne[1]=0; for(int i=2,j=0;i