This problem is in Contest(s) below:
Contest 1347:线性表栈队列堆
Contest 1435:栈队列堆
Contest 1292:线性表栈队列堆