Problem brick
User shaokai348
Submission Time 2025-03-15 22:08:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:12:12: error: ‘class std::vector<int>’ has no member named ‘pop’
12 | bricks.pop(bricks.size()-1);
| ^~~
brick.cpp:21:2: error: expected ‘}’ at end of input
21 | }
| ^
brick.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^