結果 : is greedy algorithm complete