1
0

Add Solver trait and move common functionality out of concrete solvers

This commit is contained in:
Stefan Müller
2025-12-06 01:27:15 +01:00
parent e8a91164d3
commit 6a7bffa42a
5 changed files with 119 additions and 116 deletions
+5 -3
View File
@@ -1,8 +1,10 @@
mod solvers;
mod common;
mod solvers;
fn main() {
println!("### Advent of Code 2025 ###\n");
solvers::printing_department::PrintingDepartment::new().run();
solvers::cafeteria::Cafeteria::new().run();
solvers::run(Box::new(
solvers::printing_department::PrintingDepartment::new(),
));
solvers::run(Box::new(solvers::cafeteria::Cafeteria::new()));
}