接上排序 👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏 sift_down 已经写好。补全 hsort 的第二步:反复把堆顶换到末尾,并把堆缩小一格。排完用 / 拼起来输出。(本题用 g++ -std=c++17 -O0 编译。)