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