This problem is used in private contest:PTA
一维数组