Devesh Agarwal's submission of Pairwise AND sum | CodeChef