Kanstantsin Sokal's submission of Dynamic Trees and Queries | CodeChef