头文件:include<stack> 定义:stack<数据类型>栈名 stack<int> s; 入栈:s.push(x); 出栈:s.pop(x); 栈顶:s.top(); 栈大小:s.size(); 栈空:s.empty();
gf25035 LV 5
使用您的 BCOI 通用账户