随笔分类 - DP--线型dp
摘要:http://cogs.pro:8080/cogs/problem/problem.php?pid=2240 与洛谷P2885几乎一致,https://www.luogu.org/problemnew/show/P2885,双倍经验。 定义dp[i][j]表示前i棵树的最大花费并且第i 棵树高度为j
阅读全文
摘要:http://cogs.pro:8080/cogs/problem/problem.php?pid=1669 "The Real Incantation is Their Common Increasing Subsequence of Maximal Possible Length" 真正的咒语是
阅读全文

浙公网安备 33010602011771号