From 65508cfc33dc52fff5ff46618f75d954abff13b1 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Wed, 19 Aug 2026 20:45:53 -0500 Subject: very slow solution implementation --- examples/puzzle-a-day.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') 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()); } -- cgit v1.2.3