Tom And Jerry
CodeChefOpen on judge ↗
Tom has decided to catch Jerry for sure. To ensure this, he has brought along his friends from the alley into the house. Jerry, being aware of Tom’s plan, has ensured that Spike, the friendly bulldog, is patrolling the outside of the house. You have been provided a map of the house which specifies Jerry’s location by the single letter R as well as the location of the other cats (incl
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