Abhinav tiwari's submission of Distinct Pairs | CodeChef