This problem is in Contest(s) below:
Contest 3300:基础B-第12课-回家作业(崔)
Contest 3327:基础B-第13课-课堂练习(崔)