Queries on tree again | CodeChef