1// Implementation of priority_queue in c++
2
3//queue with elements in decreasing order
4priority_queue<int> pq;
5
6// queue with elements in increasing order using compare function inside declaration
7priority_queue <int, vector<int>, greater<int> > pq;
8
9//priority_queue of type pair<int, int>
10#define pp pair<int, int>
11priority_queue <pp, vector<pp>, greater<pp> > pq;
12