|
|
|
@ -22,8 +22,7 @@ void sudokuPrint(struct Sudoku a){
|
|
|
|
|
if(!a.inc[i][j])
|
|
|
|
|
putchar('.');
|
|
|
|
|
else
|
|
|
|
|
// putchar(a.inc[i][j] + 48);
|
|
|
|
|
printf("%d", a.inc[i][j]);
|
|
|
|
|
putchar(a.inc[i][j] + 48);
|
|
|
|
|
putchar(' ');
|
|
|
|
|
}
|
|
|
|
|
putchar('\n');
|
|
|
|
@ -90,7 +89,6 @@ struct Sudoku *sudokuFill__(struct Sudoku *a, int unfillednum, struct Sudoku *ta
|
|
|
|
|
if(!unfillednum){
|
|
|
|
|
pres = M_Sudoku + tp ++;
|
|
|
|
|
sudokuCopy(*a, pres);
|
|
|
|
|
sudokuPrint(*a);
|
|
|
|
|
return pres;
|
|
|
|
|
}
|
|
|
|
|
int m=0, n=0;
|
|
|
|
|