This problem is in Contest(s) below:
Contest 1644:周三下午提高组贪心练习
Contest 1646:区一中提高组贪心练习
Contest 1717:数据结构提升班第三天
Contest 1533:昌乐二中提高班复习题目
Contest 1794:单调队列单调栈
Contest 1547:昌乐二中提高复习+预习题目20220910
Contest 1529:练习(vector,map,queue,deque,stack)