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

Compile Error

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:48:2: error: expected declaration before ‘}’ token
48 | }
| ^
squarerect.cpp:49:2: error: ‘ii’ does not name a type; did you mean ‘pii’?
49 | ii=1;
| ^~
| pii
squarerect.cpp:50:2: error: expected unqualified-id before ‘while’
50 | while(ii<n)
| ^~~~~
squarerect.cpp:52:6: error: ‘ii’ doe