Pacman
CodeChefOpen on judge ↗
Problem description. A kid who is vexed of playing the game PAC-MAN where the Blinky is attacked by the ghosts, started to think in a different way for the case of ghosts. In some level he has got n ghosts which are playing on the Cartesian playground. This playground has got k magical points where the ghosts can directly move from one point to another i.e., they enter at one point and instantly
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