結果 : knapsack greedy algorithm example