Prison Break
CodeChefOpen on judge ↗
Iron Man, before he became Iron Man, was just Tony Stark. As legend says, he was a captive in a desert in a prison. Unfortunately, he is unable to build his Arc Reactor. It is up to you to help him escape from the prison. You have maps of parts of the prison, each starting at Tony's cell and ending at the exit door. The map is represented as a matrix of 0s and 1s, where 0s are passable space and
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