Problem squarerect
User StewartStudios
Submission Time 2026-01-27 09:59:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:11:13: error: ‘inside_shape’ was not declared in this scope
11 | if (inside_shape(column, mid)){
| ^~~~~~~~~~~~
squarerect.cpp:19:39: error: ‘inside_shape’ was not declared in this scope
19 | if (ny >= 1 && ny <= N && inside_shape(column, ny)){
| ^~~~~~~~~~~~
squarerect.cpp:31:17: error: ‘inside_shape’ was not declared in this scope
31 | if (inside_shape(column, y)){
| ^~~~~~~~~~~~
squarerect.cpp:42:13: error: ‘inside_shape’ was not declared in this scope
42 | if (inside_shape(mid, y0)){
| ^~~~~~~~~~~~
squarerect.cpp:53:13: error: ‘inside_shape’ was not declared in this scope
53 | if (inside_shape(mid, y0)){
| ^~~~~~~~~~~~
squarerect.cpp:65:13: error: ‘inside_shape’ was not declare