This problem is in Contest(s) below:
Contest 5797:提高B-第10课-课堂练习
Contest 5795:提高B-第8课-课堂练习