i have a sort of this :
Code:
vector < vector <int > >a(100);
say for eg: a[1] has has a list of elements...
I have defined t priority queue stl to hold vector of elemnts..
But on a single push i need all the elemts of 1..ie a[1] to be stored in the priority queue
something like this
Code:
Q.push(a[1])
i need all the elemts of 1 to be pushed at once...
The above doesnt work...it says
No matching.....bla bla bla
any suggestions