Luca Cavalleri's submission of Dynamic Trees and Queries | CodeChef