← All problemsSign in

Snorlax and Puzzle

Snorlax came second in the Pokemon League and was rewarded with a game of puzzle of size M x N, which needs to be connected to some power source to play. The game needed to be played with an external square mat of size S x S, which is used to press the puzzle pieces. The game was defective, however, wherein if Snorlax touched some particular pieces of that puzzle, he got a sudden electric discha

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start