Commit 5af37ada authored by MARCHE Claude's avatar MARCHE Claude

make use of arrays instead of maps

parent 1a5d1a23
This diff is collapsed.
......@@ -35,9 +35,9 @@ let print_grid fmt a =
fprintf fmt "@]"
let () =
let sudoku = Sudoku__TheClassicalSudokuGrid.classical_sudoku () in
printf "Problem: %a@." print_grid input_grid;
let a = Sudoku__Solver.solve Sudoku__TheClassicalSudokuGrid.classical_sudoku
input_grid
let a = Sudoku__Solver.solve sudoku input_grid
in
printf "Solution: %a@." print_grid a
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment