Expredition Code problem

Getting error please help me to correct this

Hello Ashwani,
when you run out of fuel you only refuel once!
what if you need to refill more?
example lets say you need 7 units of fuel and your priority_queue contains {5,2,1} then inorder to reach forward you need to refuel twice(5+2).
So handle this using while loop

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.