This problem is in Contest(s) below:
Contest 5534:基础A-寒假3课-课堂练习
Contest 5541:基础A-寒假7课-课堂练习