stack栈
A stack is a data structure that provides two time operations: adding an element to the top, and removing an element from the top. It is only possible to access the top element of a stack.
stack<int> s;
s.push(3);
s.push(2);
s.push(5);
cout << s.top(); // 5
s.pop();
cout << s.top(); // 2