Problem brick
User Yinnotayl53
Submission Time 2026-08-08 00:21:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:13:17: error: ‘st’ was not declared in this scope; did you mean ‘std’?
13 | while (!st.empty() && st.back() <= x) st.pop_back();
| ^~
| std
brick.cpp:14:9: error: ‘st’ was not declared in this scope; did you mean ‘std’?
14 | st.push_back(x);
| ^~
| std