Ian's submission of Dense Graph | CodeChef