文件名称:c
介绍说明--下载内容均来自于网络,请自行研究使用
0-1背包
题目要求:简单来说就是两个人洗衣服,两个人必须把一种颜色的衣服洗完才能洗下一种颜色,两个人可以同时洗一样颜色的。
给出每件衣服的颜色和花费时间,求两人洗完所有衣服的最短时间。
-0-1 knapsack subject requirements: It simply means that two people do the laundry, two people must be a color wash to wash clothes under one color, two people can wash the same color. Each garment is given the color and spend time, find all the clothes they wash the shortest time.
题目要求:简单来说就是两个人洗衣服,两个人必须把一种颜色的衣服洗完才能洗下一种颜色,两个人可以同时洗一样颜色的。
给出每件衣服的颜色和花费时间,求两人洗完所有衣服的最短时间。
-0-1 knapsack subject requirements: It simply means that two people do the laundry, two people must be a color wash to wash clothes under one color, two people can wash the same color. Each garment is given the color and spend time, find all the clothes they wash the shortest time.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
main.cpp