This problem is in Contest(s) below:
Contest 1749:基础C-第5课-课堂练习
Contest 2376:413晚作业