sudoku: main: solve grids using backtracking

This commit is contained in:
Bruno BELANYI 2020-12-23 15:56:56 +01:00
parent 886ca8668b
commit 1a82fb592d

View file

@ -1,5 +1,6 @@
#include <stdio.h>
#include "backtracking.h"
#include "constraints.h"
#include "solver/solve.h"
#include "sudoku.h"
@ -10,7 +11,7 @@ int main(void) {
if (!parse_grid_file(&grid, stdin))
return 1;
solve(&grid);
solve_backtracking(&grid);
print_grid(&grid, stdout);