摘要: http://www.matrix67.com/blog/archives/115#include #include #include #include #include using namespace std;vector kmp(string patten,string text){ int n=patten.size(); vector next(n+1,0); for(i... 阅读全文
posted @ 2013-07-21 22:15 码代码的猿猿 阅读(166) 评论(0) 推荐(0)