I'm new to goLang, In maps even though I can print the value, why I cannot change it?

前端 未结 0 1169
青春惊慌失措
青春惊慌失措 2021-01-07 16:11
var sudoku = map[int][9]int{   // map of 9 x 9 
    0: {3, 0, 6, 5, 0, 8, 4, 0, 0},
    1: {5, 2, 0, 0, 0, 0, 0, 0, 0},
    2: {0, 8, 7, 0, 0, 0, 0, 3, 1},
    3: {0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题