Sourav Goyal's submission of Directing Edges | CodeChef