KMP与sunday的比较
摘要:
有关sunday算法的讲解:http://blog.csdn.net/caianye/article/details/6096610以下转载请注明出处 by CrazyAC1.求模式串出现在文本串的第一个位置情况1: char src[]="jfkdsahdiojdaigfgthlipjgffg"; char des[]="gffg";KMP:(匹配了49次)#include using namespace std;char src[]="jfkdsahdiojdaigfgthlipjgffg";char des[]="gf 阅读全文