/* 复制文字时自动加版权 */
摘要: 堆 在STL中可以用优先队列来构造使用堆 std::priority_queue<int, std::vector<int> > q;//大根堆 std::priority_queue<int, std::vector<int>, std::greater<int> > q;//小根堆 push() 阅读全文
posted @ 2023-06-12 22:23 Sora~悠远的苍穹 阅读(24) 评论(0) 推荐(0)