Naveen Kumar's submission of Distinct Pairs | CodeChef