【51nod】1007 正整数分组

题目: http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1007 01背包装物品。容量为和的一半,物品的价值重量都为数的值。背包内最大的价值就是相差最少的方案。 代码: #include<iostream> #include<cmath> #include<algorithm> #include<cstdio> using
相关文章
相关标签/搜索