This problem is in Contest(s) below:
Contest 4770:基础B-第4课-回家作业
Contest 5023:AK郦老师 入门C班 字符串进阶 家庭作业
Contest 4771:基础B-第4课-课堂练习