← All problemsSign in

Tricky Path

$Thefriecer$ has been kidnapped by $Inferno$ and is kept in an isolated halo room . Each halo room is assigned a $Bhopdi$ score. Bhopdi score of $Thefriecer's$ room is $0$. $Hobbit$ want to rescue his dear friend $Thefriecer$. But $Inferno$ has laid a tricky path for $Hobbit$. Rules for this tricky path are as followed- - There are $n$ halo rooms in series and in one of them $Thefriecer$ is

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start