Problem squarerect
User Henries
Submission Time 2025-03-10 14:35:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:10:8: error: ‘inside_shape’ was not declared in this scope
10 | if (inside_shape(i+1,j+1)){
| ^~~~~~~~~~~~
squarerect.cpp:11:12: error: ‘min’ was not declared in this scope; did you mean ‘miny’?
11 | minx = min(minx,j+1);
| ^~~
| miny
squarerect.cpp:12:12: error: ‘max’ was not declared in this scope; did you mean ‘maxy’?
12 | maxx = max(maxx,j+1);
| ^~~
| maxy