Problem rabbitmeeting
User shoryu386
Submission Time 2023-03-15 17:39:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbitmeeting.cpp: In function ‘int main()’:
rabbitmeeting.cpp:19:39: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
19 | dist += abs(x - wabbit[y].first) + ans(x - wabbit[y].second);
| ^~~
| abs