This problem is in Contest(s) below:
Contest 106:周六1530语法中级班作业(21)—— 字符串(1)
Contest 180:2025秋冬语法高级周六班作业(二)