diff options
| author | Daniel Hader <[email protected]> | 2026-08-19 20:45:53 -0500 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-08-19 20:45:53 -0500 |
| commit | 65508cfc33dc52fff5ff46618f75d954abff13b1 (patch) | |
| tree | 3b329e7e449038008ce2f578127d6ed628a3a125 /examples/puzzle-a-day.rs | |
| parent | e737486b668164d437c67e05f95d32c94e946e6a (diff) | |
Diffstat (limited to 'examples/puzzle-a-day.rs')
| -rw-r--r-- | examples/puzzle-a-day.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/puzzle-a-day.rs b/examples/puzzle-a-day.rs index 6577ede..0fd0877 100644 --- a/examples/puzzle-a-day.rs +++ b/examples/puzzle-a-day.rs @@ -1,4 +1,4 @@ -use calendar_puzzle::{CalanderPuzzle, rectangular::{Coords, Piece, Puzzle}}; +use calendar_puzzle::{CalendarPuzzle, rectangular::{Coords, Piece, Puzzle}}; fn main() { // construct board coordinates @@ -83,4 +83,7 @@ fn main() { println!(""); } } + + let solutions = puzzle.solve(true); + println!("Number of solutions: {}", solutions.len()); } |
