线性dp
without_Zzz
人生很贵,请别浪费
展开
-
CDUTCM OJ——1293Building
CDUTCM OJ 1293Building1293: Building时间限制: 1 Sec 内存限制: 128 MB提交: 6 解决: 4题目描述CTJ team were going to build a house which needed a square land. Now they are inspecting a large area of land, but the...原创 2019-06-03 18:12:01 · 265 阅读 · 0 评论 -
AcWing——272. 最长公共上升子序列
熊大妈的奶牛在小沐沐的熏陶下开始研究信息题目。小沐沐先让奶牛研究了最长上升子序列,再让他们研究了最长公共子序列,现在又让他们研究最长公共上升子序列了。小沐沐说,对于两个数列A和B,如果它们都包含一段位置不一定连续的数,且数值是严格递增的,那么称这一段数是两个数列的公共上升子序列,而所有的公共上升子序列中最长的就是最长公共上升子序列了。奶牛半懂不懂,小沐沐要你来告诉奶牛什么是最长公共上升子序列...原创 2019-09-26 14:42:46 · 223 阅读 · 0 评论