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