Problem squarerect
User fwaeh
Submission Time 2026-02-04 22:21:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:58:50: error: ‘targetRight’ was not declared in this scope; did you mean ‘targetR’?
58 | if (targetR + 1 <= N && inside_shape(startX, targetRight + 1)) return false;
| ^~~~~~~~~~~
| targetR