This problem is in Contest(s) below:
Contest 4194:基础A-第6课-回家作业
Contest 4197:基础A-第7课-课堂练习