This problem is in Contest(s) below:
Contest 1262:贪心第一轮复习
Contest 1311:2019寒假元月21至25号初二测试题
Contest 1130:十月队测题
Contest 1170:备战Noip2018
Contest 1050:寒假训练2
Contest 1435:栈队列堆