Problem brick
User wyaptw
Submission Time 2025-06-09 13:43:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:10:23: error: expected ‘;’ before ‘for’
10 | stack.push_back(a[0])
| ^
| ;
11 | for(int i=0;i<n;++i){
| ~~~
brick.cpp:11:14: error: ‘i’ was not declared in this scope
11 | for(int i=0;i<n;++i){
| ^