how to store pair in min heap in c 2b 2b

Solutions on MaxInterview for how to store pair in min heap in c 2b 2b by the best coders in the world

showing results for - "how to store pair in min heap in c 2b 2b"
Isabell
31 Sep 2018
1typedef pair<int, int> pi;
2priority_queue<pi, vector<pi>, greater<pi> > pq;