laofu's submission of Query on a tree VI | CodeChef