Flash tries MBA
CodeChefOpen on judge ↗
Flash, the conduit of the Speed Force, is currently jobless. This is because he failed a very important engineering exam in the past because he was busy saving the world. He just wants to go back to the past and try an MBA instead of engineering. There are $N$ cities. Flash can travel in the future or the past if he travels between these cities. This is represented in the form of a matrix wher
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