相关疑难解决方法(0)

论数独解决

有人可以帮我理解这个解决方案:

 Initialize 2D array with 81 empty grids (nx = 9, ny = 9)
 Fill in some empty grid with the known values
 Make an original copy of the array
 Start from top left grid (nx = 0, ny = 0), check if grid is empty
 if (grid is empty) {
   assign the empty grid with values (i)
   if (no numbers exists in same rows & same columns same as (i) & 3x3 zone (i) is currently in) …
Run Code Online (Sandbox Code Playgroud)

c algorithm sudoku

4
推荐指数
1
解决办法
1148
查看次数

标签 统计

algorithm ×1

c ×1

sudoku ×1