← All problemsSign in

Operator 2

To catch Kira, L has deployed a sniper in the city.He has a map of the city in the form of a matrix represented by its longest row (the row containing highest number of columns) which is given as “n”. The description of the map is as follows (see images for clarity). ![](https://nth22.s3.ap-south-1.amazonaws.com/Qa2png.png) Let us define a 'block' of 3 rows of size 'n' (instead of 1 row of size

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