This problem is used in private contest:字符数组