This problem is in Contest(s) below:
Contest 2930:基础C-第13课-回家作业
Contest 2933:基础C-第14课-课堂练习