Problem | squarerect |
---|---|
User | Ok |
Submission Time | 2023-02-21 15:27:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squarerect.cpp:54:9: error: expected initializer before ‘i’
54 | bool am i square(int N, int Q)
| ^
squarerect.cpp:58:13: error: redefinition of ‘int miy’
58 | int mox,miy = 0;
| ^~~
squarerect.cpp:57:13: note: ‘int miy’ previously defined here
57 | int mix,miy = 1100100100;
| ^~~
squarerect.cpp:60:5: error: expected unqualified-id before ‘for’
60 | for(int i = 1; i <= 5; i++){
| ^~~
squarerect.cpp:60:20: error: ‘i’ does not name a type
60 | for(int i = 1; i <= 5; i++){
| ^
squarerect.cpp:60:28: error: ‘i’ does not name a type
60 | for(int i = 1; i <= 5; i++){
| ^
squarerect.cpp:72:5: error: expected unqualified-id before ‘if’
72 | if(flag == 0){
| ^~
squarerect.cpp:76:5: error: ‘x’ does not name a type
76 | x = bsx2(mox, min(1000,mox