This problem is in Contest(s) below:
Contest 1080:长训班高阶数据结构
Contest 1090:高级数据结构练习
Contest 1087:2021CSP第二轮专题5-数结