Mouse
CodeChefOpen on judge ↗
Claude Shannon has just begun designing his electronic mouse experiment. In this experiment of his, he's trying to build an intelligent mechanical mouse which can find the quickest way to reach the centre of a maze it's put in. But before getting on with his design, Shannon wants to have an idea of the shortest path his mouse would take for a given maze. He needs such data for testing his system.
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