Fuel Mountains
CodeChefOpen on judge ↗
Yattin’s Dad gifted him a helicopter on his birthday. Due to excitement He boarded the helicopter and flew. But due to excitement he forgot to check the fuel. As we are settling a question we need something tricky that you can solve so here it is. Luckily he is flying over the Fuel mountains where he can get fuel for his helicopter. Each mountain has some L liter of fuel but some mountains are
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start