This problem is in Contest(s) below:
Contest 6068:基础B-第7课-课堂练习(童)
Contest 6074:基础B-第7课-课堂练习(崔)