Catch me if you can
CodeChefOpen on judge ↗
Catch Me If You Can There are N people playing a game called "Catch me if You Can". The game is like some pair of persons tied together by ropes. They have to run from each other as much far as they can. But since not all the persons are tied, some are free. Input is given in form on N x N matrix, such that element(i,j) show length of rope between ith and jth person zero index. Distance can be
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