This problem is in Contest(s) below:
Contest 1415:【YH28】12 字符与字符数组
Contest 1206:2025届信奥社团队内训练赛1