Naveen sati's submission of Distinct Pairs | CodeChef