初始化二维数组
var a = make([][]int, n)
for i := 0; i < n; i++ {
a[i] = make([]int, n)
}
09-15
2560
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-18
1178
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-01
575
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
初始化二维数组
var a = make([][]int, n)
for i := 0; i < n; i++ {
a[i] = make([]int, n)
}