This problem is in Contest(s) below:
Contest 1083:2021CSP第二轮专题2-图论
Contest 1038:csp/noip图论专练