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

5 lines
96 B
R
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Output:
The Total profit is: 54500
You must carry: Gold (x 11 )
You must carry: Panacea (x 9 )