Problem | boxispull |
---|---|
User | NoynYT |
Submission Time | 2023-05-11 16:07:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:12:45: error: expected ‘;’ before ‘if’
12 | if (bx % 2 == 1 and by % 2 == 1) dist += 1
| ^
| ;
13 |
14 | if (bx <= x) dist += x-bx; else dist += bx-x; if (by <= y) dist += y-by; else dist += by-y;
| ~~