Wentao Wang's submission of Dynamic Trees and Queries | CodeChef