This problem is in Contest(s) below:
Contest 6034:入门+-第11课-课堂练习(王)
Contest 6009:入门+-第11课-课堂练习(童)