Problem brick
User CalebKow
Submission Time 2025-07-01 16:01:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:15:6: error: ‘inti’ was not declared in this scope; did you mean ‘int’?
15 | for(inti=1; i<=n; ++i){
| ^~~~
| int
brick.cpp:15:14: error: ‘i’ was not declared in this scope
15 | for(inti=1; i<=n; ++i){
| ^
brick.cpp:32:1: error: expected ‘}’ at end of input
32 | }
| ^
brick.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^