This problem is in Contest(s) below:
Contest 1039:数据结构测试2020-1
Contest 1010:栈-计算机183/4