結果 : algorithm for greedy knapsack problem