Loading repovive.com/problems/classics/4
You have types of items. Item type has weight and value . You can use each type unlimited times.
Given a knapsack with capacity , find the maximum total value you can carry.
For this input, the required output is 12.
For this input, the required output is 80.
For this input, the required output is 5.