如果这样写会报错:non-constant array bound length //Length 是动态的值var array [length]int 动态数组应该这样写 array := make([]int, length)