寻找两个字符串中最大的公共子串(c++) |
解题思路参考
https://blog.csdn.net/u010397369/article/details/38979077
#include <iostream>
#include <vector>
#include<algorithm>
#include<string>
using namespace std;
int lenSIZE(string a, string b) {
//初始化a.size()*b.size()的二维数组,其数组元初始化为0
vector<vector<int>> num(a.size()