Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to store pair in min heap in c++

typedef pair<int, int> pi;
priority_queue<pi, vector<pi>, greater<pi> > pq;
 
PREVIOUS NEXT
Tagged: #store #pair #min #heap
ADD COMMENT
Topic
Name
3+2 =