The Shed Problem
CodeChefOpen on judge ↗
Dexter is the manager of Miami Wildlife Sanctuary. During rains, many species find it difficult to survive, so he decided to erect a large shed in the Sanctuary (a rectangular field) to protect these species. However, there are a number of trees on this land and Dexter does not wish to cut any of them. Here is a description of Sanctuary as a rectangular grid where "." indicates the absence of a t
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