結果 : knapsack problem greedy algorithm program in c