Problem squarerect
User penguin133
Submission Time 2023-03-12 14:54:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:22:7: error: ‘inside_shape’ was not declared in this scope
22 | if(inside_shape(i*x, j*x)){
| ^~~~~~~~~~~~
squarerect.cpp:35:6: error: ‘inside_shape’ was not declared in this scope
35 | if(inside_shape(mid, ok.se))ans = mid, hi = mid - 1;
| ^~~~~~~~~~~~
squarerect.cpp:42:6: error: ‘inside_shape’ was not declared in this scope
42 | if(inside_shape(mid, ok.se))ans = mid, lo = mid + 1;
| ^~~~~~~~~~~~
squarerect.cpp:49:6: error: ‘inside_shape’ was not declared in this scope
49 | if(inside_shape(ok.fi, mid))ans = mid, hi = mid - 1;
| ^~~~~~~~~~~~
squarerect.cpp:56:6: error: ‘inside_shape’ was not declared in this scope
56 | if(inside_shape(ok.fi, mid))ans = mid, lo = mid + 1;
| ^~~~~~~~~~~~