This problem is in Contest(s) below:
Contest 6106:入门+-第13课-课堂练习(童)
Contest 6119:入门+-第13课-课堂练习(王)