結果 : greedy algorithm knapsack problem python