This problem is in Contest(s) below:
Contest 5971:基础B-第5课-课堂练习(童)
Contest 5986:基础B-第5课-课堂练习(崔)