Tragic Trees
CodeChefOpen on judge ↗
Explanation Senja is an island near Norway which is very prone to fungal disease that causes soil infertility and corrosion. The problem is such that it destroys the complete forest. Not a single tree is left eventually. This island has been cursed by Satan, and the curse is that whenever a tree’s soil catches the disease, it rots and turns into a wasteland and the roots pass the disease to all it
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