This problem is in Contest(s) below:
Contest 3434:入门下-第12课-课堂练习(雷老师)
Contest 3974:柯灵基础