【POJ】优先队列的应用一、优先队列基本语法二、POJ两题
一、优先队列基本语法1.定义#include<queue>#include<functional>#include<vector>//大顶堆priority_queue<int> maxheap;//小顶堆priority_queue<int, vector<int>, greater<int>> mi