Ivan Deka's submission of Distinct Pairs | CodeChef