【51nod】1007 正整數分組

題目: http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1007 01揹包裝物品。容量爲和的一半,物品的價值重量都爲數的值。揹包內最大的價值就是相差最少的方案。 代碼: #include<iostream> #include<cmath> #include<algorithm> #include<cstdio> using
相關文章
相關標籤/搜索