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

Compile Error

squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:36:44: error: ‘Ii’ was not declared in this scope; did you mean ‘ii’?
36 | if(l-ii>0 and inside_shape(l-ii,u))l-=Ii;
| ^~
| ii
squarerect.cpp: At global scope:
squarerect.cpp:39:2: error: ‘ii’ does not name a type; did you mean ‘pii’?
39 | ii=1;
| ^~
| pii
squarerect.cpp:40:2: error: expected unqualified-id before ‘while’
40 | while(ii<n){
| ^~~~~
squarerect.cpp:44:2: error: ‘ii’ does not name a type; did you mean ‘pii’?
44 | ii=1;
| ^~
| pii
squarerect.cpp:45:2: error: expected unqualified-id before ‘while’
45 | while(ii<n)
| ^~~~~
squarerect.cpp:47:6: error: ‘ii’ does not name a type; did you mean ‘pii’?
47 | ii*=2;
| ^~
| pii
squarerect.cpp: