seaswalker / posts

0 stars 0 forks source link

Golang创建二维slice #36

Open seaswalker opened 3 years ago

seaswalker commented 3 years ago
visited := make([][]bool, 8)
for i := range visited {
    visited[i] = make([]bool, 8)
}