This problem is in Contest(s) below:
Contest 6199:基础C-第10课-课堂练习(国)
Contest 6323:AK张老师 语法初级A班 字符串课堂练习
Contest 6333:黄补课