summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/puzzle-a-day.rs5
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());
}