Problem squarerect
User Josh28acc2
Submission Time 2023-12-26 14:49:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:8:2: error: ‘ll’ was not declared in this scope
8 | ll counter = 0;
| ^~
squarerect.cpp:9:9: error: expected ‘;’ before ‘q’
9 | for (ll q = 1; q <= N; q++) {
| ^~
| ;
squarerect.cpp:9:17: error: ‘q’ was not declared in this scope
9 | for (ll q = 1; q <= N; q++) {
| ^
squarerect.cpp:10:10: error: expected ‘;’ before ‘w’
10 | for (ll w = 1; w <= N; w++) {
| ^~
| ;
squarerect.cpp:10:18: error: ‘w’ was not declared in this scope
10 | for (ll w = 1; w <= N; w++) {
| ^
squarerect.cpp:11:4: error: ‘counter’ was not declared in this scope
11 | counter += inside_shape(q, w);
| ^~~~~~~
squarerect.cpp:14:9: error: expected ‘;’ before ‘q’
14 | for (ll q = 1; q <= N; q++) {
| ^~<