This problem is in Contest(s) below:
Contest 3436:入门下-第13课-课堂练习(雷老师)
Contest 3982:练习