結果 : algorithm of knapsack problem