This problem is in Contest(s) below:
Contest 5739:寒假基础B-第4课-课堂练习(崔)
Contest 5751:寒假基础B-第7课-课堂练习(崔)