摘要: 链接 分析:依赖型0-1背包问题,对于一个主件,可以挂0个,1个,2个附件,所以最终为4种状态情况下的最大值。 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "string" 5 using nam 阅读全文
posted @ 2017-07-13 12:54 wolf940509 阅读(166) 评论(0) 推荐(0)