Ritesh kumar's submission of Dense Graph | CodeChef