← All problemsSign in

Kazama And Grids

Kazama is very fond of grids and his dear friend Bo-chan is aware of this. So one evening when these two were waiting for other friends to come for Kasukabe Defence Group meeting Bo decided to give Kazama a question based on grids. But Kazama is busy preparing for his English test. Can you solve it for him? Given a two dimensional grid A of size n by m (n rows and m columns),your task is to selec

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