queue
queue<int> q;
push(elem);//添加元素
pop();//移除一个元素
back();//返回最后一个元素
front();//返回第一个元素
empty();//如果队列为空返回真
size();//返回队列中元素个数
queue
queue<int> q;
push(elem);//添加元素
pop();//移除一个元素
back();//返回最后一个元素
front();//返回第一个元素
empty();//如果队列为空返回真
size();//返回队列中元素个数