Norfolk Island Revisited
CodeChefOpen on judge ↗
As you know already the federal environment department is in its mission to wipe out the Argentine Ants species from Norfolk Island. For the purpose they started examining N sites within the island numbered 1 through N. They know that if the food present in each site is less than a particular amount, then all the ants in that region will die. But the Argentine Ants are also smart. The ants started
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