Mickaël Melki's submission of Directing Edges | CodeChef