Problem rabbitmeeting
User Pyrros
Submission Time 2025-02-21 19:41:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbitmeeting.cpp: In function ‘int main()’:
rabbitmeeting.cpp:34:30: error: ‘best_x’ was not declared in this scope
34 | sum += (abs(hori[i].first-best_x)+abs(hori[i].second-best_x));
| ^~~~~~