Problem travel
User PlayVoltz
Submission Time 2023-08-24 22:24:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

travel.cpp: In function ‘int main()’:
travel.cpp:17:29: error: ‘cities’ was not declared in this scope
17 | int maxTime = max(abs(a1 - cities[0]), abs(a1 - cities[n - 1]));
| ^~~~~~