Dec Course 2024 Advanced Contest 8 (Trees III)