Find the Bombs
CodeChefOpen on judge ↗
You are Prakash Rathod, the police commissioner of Mumbai Police. You came to know that Naseeruddin Shah has planted bombs all around the city of Mumbai. The city is of the form of nxn square matrix, each district is composed a square of 1x1 square km length. Your spies have got the location of all the bombs in the city. Each district is denoted by (i,j) where i is row number and j is column numbe
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