Problem square_ioi
User kahchun
Submission Time 2023-11-24 10:57:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

square_ioi.cpp: In function ‘int findMaxSquare(int (*)[1000], int)’:
square_ioi.cpp:35:15: error: expected unqualified-id before ‘int’
35 | int ans = 0, int counter = 0;
| ^~~
square_ioi.cpp:40:5: error: ‘counter’ was not declared in this scope
40 | counter = 1;
| ^~~~~~~
square_ioi.cpp:43:5: error: ‘counter’ was not declared in this scope
43 | counter++;
| ^~~~~~~
square_ioi.cpp:47:15: error: ‘counter’ was not declared in this scope
47 | return ans * counter;
| ^~~~~~~