This problem is in Contest(s) below:
Contest 5673:入门-第7课-课堂练习(王)
Contest 5829:入门-第7课-课堂练习(童)