Problem brick
User Hengweezy
Submission Time 2024-01-31 23:53:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:13:9: error: ‘c’ was not declared in this scope
13 | while(c.top() <= value && !c.empty()){
| ^
brick.cpp:16:3: error: ‘c’ was not declared in this scope
16 | c.push(value);
| ^
brick.cpp:18:10: error: ‘c’ was not declared in this scope
18 | reverse(c.begin(), c.end());
| ^
brick.cpp:18:2: error: ‘reverse’ was not declared in this scope
18 | reverse(c.begin(), c.end());
| ^~~~~~~