nitix's submission of Queries on tree again | CodeChef