Problem fuel
User YH
Submission Time 2024-02-05 15:02:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuel.cpp: In function ‘int determine_stops(int, int*, int, int)’:
fuel.cpp:25:27: error: ‘dist’ was not declared in this scope; did you mean ‘dists’?
25 | else if (it == n-1 && l-dist[it] > m) {
| ^~~~
| dists