摘要: A. 数字组合. 在 $N$个数中找出其和为 $M$ 的若干个数,把满足条件的数字组合都找出来以统计组合的个数,输出组合的个数 类似0/1背包,恰好装满背包的方案数 #include <bits/stdc++.h> #define per(i,a,b) for(int i(a);i<=b;++i) 阅读全文
posted @ 2023-02-03 20:59 f2021yjm 阅读(15) 评论(0) 推荐(0) 编辑