This problem is in Contest(s) below:
Contest 5955:入门+-第9课-课堂练习(王)
Contest 5867:入门+-第9课-课堂练习(童)