Introduction - If you have any usage issues, please Google them yourself
Suppose there are n items, each item has its own weight W1, W2, ... , Wn and the corresponding value of V1, V2, ......, Vn. Let knapsack capacity is c, under the premise of not exceeding the capacity of the backpack, find solutions to maximize the total value. (0-1 backpack case of indivisible goods, can only choose placed or not placed in a backpack).