第五章 BF算法和KMP算法

KMP算法练习题 https://vjudge.net/contest/196097ios BF算法 #include<iostream> #include<cstring> using namespace std; //时间复杂度O(n*m) int BF_match(char *s,char *t){ int len1=strlen(s),len2=strlen(t); if
相关文章
相关标签/搜索