Problem fuelstation
User trisanu123
Submission Time 2023-02-03 20:24:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuelstation.cpp: In function ‘int main()’:
fuelstation.cpp:7:17: error: ‘N’ was not declared in this scope
7 | cin >> n >> d; N++;
| ^
fuelstation.cpp:18:4: error: ‘F’ was not declared in this scope
18 | F += arr[i].first - cur;
| ^
fuelstation.cpp:25:5: error: ‘F’ was not declared in this scope
25 | F += arr[i].first - cur;
| ^