Can anybody please explain what is the meaning of this declaration:
typedef pair<long long, int> PII;
priority_queue<PII, vector<PII>, greater<PII> > Q;
Is it to be treated as a priority queue of pair of long long
and int
or something else? Can please someone also explain what is greater<PII>
here?