Problem squarerect
User StewartStudios
Submission Time 2026-02-01 10:58:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:6:20: error: ‘start_y’ was not declared in this scope; did you mean ‘start_x’?
6 | int start_x = -1; start_y = -1; end_x = -1; end_y = -1;
| ^~~~~~~
| start_x
squarerect.cpp:6:34: error: ‘end_x’ was not declared in this scope
6 | int start_x = -1; start_y = -1; end_x = -1; end_y = -1;
| ^~~~~
squarerect.cpp:6:46: error: ‘end_y’ was not declared in this scope
6 | int start_x = -1; start_y = -1; end_x = -1; end_y = -1;
| ^~~~~