[AcWing] 897. 最长公共子序列(C++实现)线性dp例题
1. 题目

2. 读题(需要重点注意的东西)
思路:
闫式dp分析法

用闫式dp分析法分析最长公共子序列问题

3. 解法
---------------------------------------------------解法---------------------------------------------------
#include <iostream>
#include <algorithm>
using namespace std;
const int N = 1010;
int n,