Problem brick
User BlueSpace
Submission Time 2026-11-15 20:27:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:24:4: error: expected primary-expression before ‘]’ token
24 | ]
| ^
brick.cpp:35:1: error: expected ‘}’ at end of input
35 | }
| ^
brick.cpp:12:30: note: to match this ‘{’
12 | for (int i = 0; i < a; i++) {
| ^
brick.cpp:35:1: error: expected ‘}’ at end of input
35 | }
| ^
brick.cpp:4:13: note: to match this ‘{’
4 | int main () {
| ^