标签:vector bsp cto 优先队列 gre tor pop queue 队列
栈:
empty()
pop()
push()
size()
top()
队列:
back()
empty()
front()
pop()
push()
size()
优先队列:
empty()
pop()
push()
size()
top()
priority_queue<int> pq; 默认升序
priority_queue<int, vector<int>, greater<int> > pq; 降序
priority_queue<int, vector<int>, f() > pq; f()为双参数函数
STL stack queue priority_queue
标签:vector bsp cto 优先队列 gre tor pop queue 队列
原文地址:http://www.cnblogs.com/Ro0kie/p/6102949.html