摘要: #include #include #include using namespace std; int next1[1000010]; int m; char b[1000010]; void build_next() { int i=0; int j=-1; next1[0]=-1; while(i<m) { while(j!... 阅读全文
posted @ 2016-05-25 09:07 相儒以沫 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 附上博客http://blog.csdn.net/muxidreamtohit/article/details/8865210 阅读全文
posted @ 2016-05-25 09:06 相儒以沫 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 附上一篇博客http://blog.csdn.net/cambridgeacm/article/details/7752247 阅读全文
posted @ 2016-05-25 09:05 相儒以沫 阅读(117) 评论(0) 推荐(0) 编辑