Problem brick
User JerryCodebreaker
Submission Time 2024-12-21 16:38:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp:18:2: error: expected unqualified-id before ‘for’
18 | for (int i=v.size()-1;i>=0;i--){
| ^~~
brick.cpp:18:24: error: ‘i’ does not name a type
18 | for (int i=v.size()-1;i>=0;i--){
| ^
brick.cpp:18:29: error: ‘i’ does not name a type
18 | for (int i=v.size()-1;i>=0;i--){
| ^
brick.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^