Problem brick
User om2024
Submission Time 2024-06-20 15:02:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘for’
9 | for(int i = 0; i < n; i++) {
| ^~~
brick.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for(int i = 0; i < n; i++) {
| ^
brick.cpp:17:11: error: ‘arr’ was not declared in this scope
17 | cout << arr[i];
| ^~~