???????????
????????include<stack>
?????????
????stack<type>q;
????????type???????????????q??????????????
????????????????
????q.push();??????????У?
????q.pop();  ?????????????
????q.empty();?ж???????????????????????????
????q.top();   ??????????????j=q.top()??
????q.size();  ????????????
???????е?????
????????include<queue>
???????????
????queue<type>q;
????????????????
????q.push();????????????У?
????q.pop();?????????????У????????
????q.size();????????????
????q.front();??????????????????
????q.back();?????β???????????
????q.empty();?ж???????????