This problem is in Contest(s) below:
Contest 2908:基础C-第2课-回家作业
Contest 2909:基础C-第2课-课堂练习