This problem is in Contest(s) below:
Contest 2911:基础C-第3课-课堂练习
Contest 2996:(AK张老师)飙升班 字符