結果 : activity selection problem greedy method