Problem | boxispull |
---|---|
User | Joashhh |
Submission Time | 2024-01-01 17:59:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:10:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
10 | ans = abs(x1-x2) + abs(y1-y2);
| ^~~
| abs
boxispull.cpp:12:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
12 | ans = abs(x1-x2) + abs(y1-y2) + 2;
| ^~~
| abs