This problem is in Contest(s) below:
Contest 6220:入门+-第15课-课堂练习(王)
Contest 6202:入门+-第15课-课堂练习(童)