This problem is in Contest(s) below:
Contest 3488:基础B-第14课-回家作业
Contest 4041:基础A-第14课-课堂练习(崔)