This problem is in Contest(s) below:
Contest 1063:小学省赛集训广搜专题
Contest 1038:csp/noip图论专练
Contest 1101:2022寒假普及班数据结构基础
Contest 1103:2022寒假提高班练习题