Problem fuel
User AaravRastogi
Submission Time 2025-12-15 14:10:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuel.cpp: In function ‘int main()’:
fuel.cpp:19:13: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
19 | return;
| ^~~~~~
fuel.cpp:27:12: error: ‘current_pos’ was not declared in this scope
27 | while (current_pos < l) {
| ^~~~~~~~~~~
fuel.cpp:37:13: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
37 | return;
| ^~~~~~