Ankit Sharma's submission of Distinct Pairs | CodeChef