mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-08 20:25:31 -05:00
detail: sudoku solver prints total time
This commit is contained in:
parent
5bfd975ed3
commit
34f64d2d69
1 changed files with 3 additions and 1 deletions
|
|
@ -308,7 +308,9 @@ let solve_file file =
|
||||||
| Some g' ->
|
| Some g' ->
|
||||||
Format.printf "@[<v>@[<2>solution (in %.3fs):@ %a@]@,###################@]@."
|
Format.printf "@[<v>@[<2>solution (in %.3fs):@ %a@]@,###################@]@."
|
||||||
(Sys.time()-.start) Grid.pp g')
|
(Sys.time()-.start) Grid.pp g')
|
||||||
grids
|
grids;
|
||||||
|
Format.printf "@.solved %d grids (in %.3fs)@." (List.length grids) (Sys.time()-.start);
|
||||||
|
()
|
||||||
|
|
||||||
let () =
|
let () =
|
||||||
Fmt.set_color_default true;
|
Fmt.set_color_default true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue