摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>char str [1000010];int next[1000010]; int getnext(){ int i= 0, j= -1; next[0]= -1; while( str[i] ) { if( j== -1 || str[i]== s... 阅读全文
posted @ 2010-07-20 20:20 李洪雷 阅读(224) 评论(0) 推荐(0) 编辑