Ankit Rana's submission of Double Distance Query | CodeChef