Problem fuelstation
User snorky
Submission Time 2024-01-12 20:21:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fuelstation.cpp: In function ‘int main()’:
fuelstation.cpp:18:3: error: expected primary-expression before ‘]’ token
18 | }]
| ^
fuelstation.cpp:22:2: error: ‘else’ without a previous ‘if’
22 | else if(x[0]+a[0] < d){
| ^~~~