Problem squarerect
User Xiaoyang
Submission Time 2023-12-26 14:16:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:30:6: error: ‘aa’ was not declared in this scope
30 | aa=inside_shape(n/2,n/2);
| ^~
squarerect.cpp:31:6: error: ‘bb’ was not declared in this scope; did you mean ‘pb’?
31 | bb=inside_shape(n/2+1,n/2);
| ^~
| pb
squarerect.cpp:32:6: error: ‘cc’ was not declared in this scope
32 | cc=inside_shape(n/2,n/2+1);
| ^~
squarerect.cpp:33:6: error: ‘dd’ was not declared in this scope
33 | dd=inside_shape(n/2+1,n/2+1);
| ^~
squarerect.cpp:36:6: error: ‘aa’ was not declared in this scope
36 | aa=inside_shape(n/2+1,n/2+1);
| ^~
squarerect.cpp:39:5: error: ‘aa’ was not declared in this scope
39 | if(aa or cc)x=n/2;
| ^~
squarerect.cpp:39:11: error: ‘cc’ was not declared in this scope
39 | if(aa or cc)x=n/2;
| ^~
squarerec