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

5 lines
96 B
R
Raw Permalink Normal View History

2013-10-27 22:24:23 +00:00
Output:
The Total profit is: 54500
You must carry: Gold (x 11 )
You must carry: Panacea (x 9 )