結果 : greedy method problems