This problem is in Contest(s) below:
Contest 1516:图论专题1—图的遍历