You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
lavos/cap4/common.go

10 lines
173 B

package cap4
func _makeMatrix(m, n int) [][]int {
matrix := make([][]int, m)
for i := 0; i < m; i++ {
matrix[i] = make([]int, n)
}
return matrix
}