This problem is in Contest(s) below:
Contest 1040:csp/noip数据结构专练
Contest 1094:2022长训班提高\silver级别练习题
Contest 1130:2022小学省赛练习题