Стек STL
#include <stack>
stack<int> steck;
steck.push(1);
steck.push(3);
steck.push(5);
printf("%d ", steck.top()); // 5
steck.pop(); // видаляємо 5
#include <stack>
stack<int> steck;
steck.push(1);
steck.push(3);
steck.push(5);
printf("%d ", steck.top()); // 5
steck.pop(); // видаляємо 5