摘要: 1 // 最长公共子串问题 2 // dp解决 3 // 状态转移方程: dp = 0 当str1[i-1] != str2[j-1], dp = dp[i-1][j-1] 当str1[i-1] == str2[j-1] 4 5 #include <bits/stdc++.h> 6 using na 阅读全文
posted @ 2020-03-31 10:24 sqdtss 阅读(131) 评论(0) 推荐(0) 编辑