Chase and Dungeons
CodeChefOpen on judge ↗
Link's Brother Chain has set out for an adventure. He has come across a mysterious dungeon filled with various threats and only one way to go through: using the platforms. The dungeon contains a number of platforms numbered from $0$ to $N$. Out of these, some platforms are fake and will collapse into the underlying lava, if stepped on without making the platform **safe**. Chain has to go through
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