This problem is in Contest(s) below:
Contest 4259:提高A-暑期第6课-回家练习
Contest 4233:提高B-暑假8课-课堂练习