Zhang Yide's submission of Decompose the Tree | CodeChef