正文
增加 2 行删除 0 行
1234567813 行未改动2223242526272829152 行未改动全部展开## T767585 最长公共子序列### 错因:$LCS$模板出现错误,不讲了~~气鼠我了~~:::error[错误代码(不要模仿!)]#include <bits/stdc++.h>using namespace std;const int N = 1e3 + 5;int n, ans, a[N], b[N], dp[N][N];13 行未改动}cout << ans;return 0;}::::::success[AC Code]```cpp#include <bits/stdc++.h>152 行未改动全部展开12345678913 行未改动232425262728293031152 行未改动全部展开## T767585 最长公共子序列### 错因:$LCS$模板出现错误,不讲了~~气鼠我了~~:::error[错误代码(不要模仿!)]```cpp#include <bits/stdc++.h>using namespace std;const int N = 1e3 + 5;int n, ans, a[N], b[N], dp[N][N];13 行未改动}cout << ans;return 0;}```::::::success[AC Code]```cpp#include <bits/stdc++.h>152 行未改动全部展开