This problem is in Contest(s) below:
Contest 1002:L2.1.2数组与字符串(二)