This problem is in Contest(s) below:
Contest 6169:入门-第14课-课堂练习(童)
Contest 6182:入门-第14课-课堂练习(王)