rambhakt's submission of Queries with Pairs | CodeChef