結果 : which is not greedy algorithm