Land-fill
CodeChefOpen on judge ↗
Tolstoy’s neighbourhood is being acquired by multinational for setting up a new manufacturing plant. The facility requires a plain patch of land which consists of the numerous blocks of lands that are already in row. Each block of land (many blocks make up the entire acquired land patch) can be of three types - Consisting of a pile of soil, consisting of a pit, or having none of these. Since the
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