Sudoku Solver

2015-07-20 17:07:20 · 作者: · 浏览: 5

?

Write a program to solve a Sudoku puzzle by filling the empty cells.

Empty cells are indicated by the character '.'.

You may assume that there will be only one unique solution.

\

A sudoku puzzle...

?

\

...and its solution numbers marked in red.

解:

?

?

bool isValid(vector
  
   > & board, int x, int y){
        for(int i=0; i
   
    >& board) { for(int i=0; i
    
     >& board) { solveSudo(board); }
    
   
  


?

?