← All problemsSign in

Weirwood age

## Problem Name A Weirwood's Age ## Problem Definition The whitewalkers have crossed the wall and have started destroying the weirwood trees. Alys is a young and curious whitewalker who stumbles over weird looking half cut tree trunk. The tree trunk has a lot of rings that determine the age of the weirwood on counting the no. of rings. The distance between the rings gradually increases by **X** v

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start