Problem brick
User TheInvadr
Submission Time 2023-01-10 23:06:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:4:5: error: ‘stack’ was not declared in this scope
4 | stack<int> stack;
| ^~~~~
brick.cpp:4:11: error: expected primary-expression before ‘int’
4 | stack<int> stack;
| ^~~
brick.cpp:6:9: error: ‘cin’ was not declared in this scope
6 | cin>>arr[i];
| ^~~
brick.cpp:12:9: error: ‘cout’ was not declared in this scope
12 | cout<<stack.top();
| ^~~~