摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805402305150976 题意 N个硬币,选出一些,刚好凑成M元 按01背包求解,背包容量M,若能装满,说明有解 若有多解,输出序列最小的(难点) Sample I 阅读全文
posted @ 2020-08-26 14:55 liuyongliu 阅读(147) 评论(0) 推荐(0) 编辑