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