This problem is used in private contest:童程童美C++基础班 字符数组(二)
童程童美 C++基础班 动态内存分配 多字符串处理