結果 : use min heap in python