Raiders of the Rectangular Pool
CodeChefOpen on judge ↗
Raiders of the Rectangular Pool. IndianaJones (Indy), the famous archaeologist, arrived at Tunisia in search of the Lost Ark of The Covenant. While searching for the artifact in a jungle, Indy discovers a hidden rectangular pool divided into NxM cells. In some cells of the pool there are stone islands. Each island consists of some number of stones. Let's call this number the height of the islan
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