This problem is in Contest(s) below:
Contest 6485:入门-第4课-课堂练习(童)
Contest 6478:入门-第4课-课堂练习(崔)