This problem is in Contest(s) below:
Contest 1665:wq大数据19 数组和字符串
Contest 1658:IT编程基础(中美2+2)-— 数组和字符串练习
Contest 1659:程序设计基础2-—数组和字符串练习