Brute-Force算法

        1 #include <iostream> 2 #include <string> 3 using namespace std; 4 5 int BF(const string& father, const string& son) //返回首次匹配的字符串中的第一个匹配的字符的下标 6 { 7 int i = 0, j = 0; //i表示主串下标,j
相关文章
相关标签/搜索