<span style="font-size:18px;">#include<stack>
#include<cstdio>
using namespace std;
int main()
{
stack<int> s;
s.push(1);
s.push(2);
s.push(3);
printf("%d\n",s.top());
s.pop();
printf("%d\n",s.top());
s.pop();
printf("%d\n",s.top());
s.top();
return 0;
}</span>
栈
最新推荐文章于 2022-04-22 23:43:58 发布