Final Showdown
CodeChefOpen on judge ↗
It is time for the final face-off. Now Batman must travel to where Superman is waiting as soon as possible. However, it happens that a road maintenance task is currently underway in Metropolis. Batman knows that the city policy dictates only one road can be repaired at a time. So he must come up with the shortest route quickly as soon as he learns which road is being repaired. The city is designe
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