摘要: 完全背包 选法并不会重复, 因为是每个单独,只用一次 class Solution { public: int dp[5100]; int change(int amount, vector<int>& coins) { memset(dp, 0, sizeof(dp)); dp[0] = 1; f 阅读全文
posted @ 2021-12-10 18:03 WTSRUVF 阅读(16) 评论(0) 推荐(0) 编辑