RosettaCodeData/Task/Knapsack-problem-Unbounded/R/knapsack-problem-unbounded-3.r
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

4 lines
96 B
R

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