Bùi Việt Dũng's submission of Distinct Pairs | CodeChef