摘要: 题意:经典的01背包题,给出了石头的数量与背包的容量,然后分别给出每个石头的容量与价值,要求最优解,可以说是01背包果题。http://acm.hdu.edu.cn/showproblem.php?pid=2602#include#include#include#includeusing names... 阅读全文
posted @ 2014-12-25 17:50 Black&Blue 阅读(84) 评论(0) 推荐(0)