Răspuns:
#include <iostream>
#include <stack>
using namespace std;
int main()
{
int n;
stack<int> stiva;
cin >> n;
stiva.push(n);
}