Ming-Tian Yang's submission of Directing Edges | CodeChef