Nikhil Pandey's submission of Pairwise AND sum | CodeChef