← All problemsSign in

The Revolutionary War

Mr. Hitler is in the Revolutionary war. He is the only hope to save the country from enemies as they have a new biological weapon which is so deadly that when it hits a particular area, it also wipes out the areas adjacent to it.Although if the weapon hits the water bodies, then it wont have any effect. Given an NxM map which has NxM cells. Each cell may represent an area or a water body. The we

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