This problem is in Contest(s) below:
Contest 5022:AK郦老师 入门C班 字符串进阶 课堂练习
Contest 5023:AK郦老师 入门C班 字符串进阶 家庭作业