結果 : algorithm of greedy knapsack problem