This problem is in Contest(s) below:
Contest 5618:AK郦老师 零基础B班 字符串进阶 流程控制 家庭作业