头文件 algorithm make_heap();建堆,大顶堆从小到大排序,小顶堆从大到小排序 pop_heap();把第一个和最后一个调换,然后把[first,end-1]重新构堆 push_heap();假设一开始是个有效堆,加进来一个或者一组元素重新构堆 sort_heap();堆排序 #i