摘要:
题目 题解: 动态规划,用二进制压缩状态,注意分析几种情况,就能推出来正确的状态转移方程。 class Solution { public: int dp[12][4096]; int connectTwoGroups(vector<vector<int>>& cost) { int n = cos 阅读全文
posted @ 2020-10-22 11:00
Shendu.CC
阅读(271)
评论(0)
推荐(0)
浙公网安备 33010602011771号