摘要: 背包 DP [NOIP 2018 提高组] 货币系统 注意到,\(b\) 必然是 \(a\) 的子集。\(dp_j\) 表示凑出 \(j\) 的方案数。 code #include<cstdio> #include<algorithm> #include<cstring> using namespa 阅读全文
posted @ 2025-04-28 17:32 headless_piston 阅读(24) 评论(0) 推荐(0)