TLE
min heap solve it