Prateek Gupta's submission of Distinct Pairs | CodeChef