queue
队列:先进先出
c++
#include<queue>
queue<int>q;
q.push(x); //入队
q.pop(); //弹出第一个元素
q.front(); //返回队列第一个元素
q.back(); //返回队列最后一个元素
q.size();
q.empty();