RosettaCodeData/Task/Knapsack-problem-Unbounded/R/knapsack-problem-unbounded-3.r

5 lines
96 B
R

Output:
The Total profit is: 54500
You must carry: Gold (x 11 )
You must carry: Panacea (x 9 )