Problem fuel
User chickennn
Submission Time 2026-04-30 18:44:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuel.cpp: In function ‘int main()’:
fuel.cpp:10:5: error: ‘vectopr’ was not declared in this scope
10 | vectopr<int> F(N);
| ^~~~~~~
fuel.cpp:10:13: error: expected primary-expression before ‘int’
10 | vectopr<int> F(N);
| ^~~
fuel.cpp:12:14: error: ‘F’ was not declared in this scope
12 | cin >> F[i];
| ^
fuel.cpp:22:23: error: ‘F’ was not declared in this scope
22 | while (i < N && F[i] <= distance + T) {
| ^
fuel.cpp:30:18: error: ‘F’ was not declared in this scope
30 | distance = F[i - 1];
| ^