Problem rabbitmeeting
User Pyrros
Submission Time 2025-02-21 19:41:16
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));
| ^~~~~~
rabbitmeeting.cpp:42:8: error: ‘i’ was not declared in this scope
42 | cout<<i<<" "<<ans<<endl;
| ^