結果 : knapsack algorithm using greedy method