Problem | fuel |
---|---|
User | thatlycheeoolongdrink |
Submission Time | 2024-06-24 15:30:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fuel.cpp: In function ‘int main()’:
fuel.cpp:34:34: error: ‘i’ was not declared in this scope
34 | current_position = f[i - 1];
| ^
fuel.cpp: At global scope:
fuel.cpp:37:5: error: expected declaration before ‘}’ token
37 | }
| ^
fuel.cpp:39:5: error: ‘cout’ does not name a type
39 | cout << stops << endl;
| ^~~~
fuel.cpp:41:5: error: expected unqualified-id before ‘return’
41 | return 0;
| ^~~~~~
fuel.cpp:42:1: error: expected declaration before ‘}’ token
42 | }
| ^