← All problemsSign in

Mortars

Chef had made a wonderful dish for the upcoming fest but Bob a food lover want to steal the food before the fest. The dish is kept in the playground of the college which is in rectangular shape. Suppose that playground is a matrix of size **M (rows) * N (columns)**. The dish is kept at the **Nth column** of the **Mth row** of the **playgroud (playground[M][N])**. Bob and his gangsters can ente

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