PAT基础知识——STL之heap 直接sort()其实也可以 https://blog.csdn.net/yusiguyuan/article/details/40950735 https://blog.csdn.net/longhopefor/article/details/38303545