Problem | travel |
---|---|
User | PlayVoltz |
Submission Time | 2023-08-24 22:23:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
travel.cpp: In function ‘int main()’:
travel.cpp:17:24: error: ‘h0’ was not declared in this scope; did you mean ‘y0’?
17 | int maxTime = max(abs(h0 - cities[0]), abs(h0 - cities[n - 1]));
| ^~
| y0
travel.cpp:17:29: error: ‘cities’ was not declared in this scope
17 | int maxTime = max(abs(h0 - cities[0]), abs(h0 - cities[n - 1]));
| ^~~~~~