/* * @Author : huangzj * @Time : 2020/7/31 15:43 * @Description:背包道具 */ package knapsackOptimization type BagItem struct { Value int //道具价值 Weight int //道具重量 }