摘要: Catching Cheaters 其实就是把最长公共子序列的 dp 维护的值变为$4LCS(C,D)-|C|-|D|$的值就好了。 #include<bits/stdc++.h> using namespace std; const int maxn=5005; int dp[maxn][maxn 阅读全文
posted @ 2020-11-19 18:33 caoanda 阅读(112) 评论(0) 推荐(0) 编辑