.=‘5’>- +===========+===========+===========+/** A 9x9 Sudoku grid */
public class SudokuGrid但是我希望这段代码可以作为一个实际的Sudoku解析器的基础(如果我能把它放在一起的话,稍后我会发布它)。有什么明目张胆的错误会把我逼上砖墙吗?
因此,我必须编写bash脚本来检查9x9 "sudoku“解决方案是否有效,但简化的是,我不必将其划分为3x3,只需检查行和列是否包含任何重复数字,而有效数字仅为1-9。/bin/bashcount=0#for i in 1 2 3 4 5 6 7 8 9 #cat sudoku.txtcount++ } END { print count }'
#and this would be for
; x++) //boardWidth is the number of fillable squares wide and high the board is. (9 for a standard SudokuboardWidth, 4)) //If the square has been tried to be filled up to boardWidth^4 times (6,561 for a standard Sudoku