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
相關文章
相關標籤/搜索