Problem fuel
User capybara
Submission Time 2023-02-23 14:57:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuel.cpp: In function ‘int main()’:
fuel.cpp:7:14: error: expected initializer before ‘:’ token
7 | int arr[n+3]: arr[0] = 0;
| ^
fuel.cpp:8:2: error: ‘arr’ was not declared in this scope
8 | arr[n+1] = 1;
| ^~~
fuel.cpp:25:10: error: ‘prospect’ was not declared in this scope; did you mean ‘propect’?
25 | while (prospect < n+2){
| ^~~~~~~~
| propect
fuel.cpp:28:3: error: ‘prospect’ was not declared in this scope; did you mean ‘propect’?
28 | prospect==;
| ^~~~~~~~
| propect
fuel.cpp:28:13: error: expected primary-expression before ‘;’ token
28 | prospect==;
| ^