This problem is in Contest(s) below:
Contest 5624:AK张老师 零基础A班 字符串进阶 流程控制
Contest 5617:AK郦老师 零基础B班 字符串进阶与流程控制 课堂练习