結果 : knapsack problem greedy algorithm in c