1
0

Update structure of modules

This commit is contained in:
Stefan Müller
2025-12-06 00:59:48 +01:00
parent 0730ce7f01
commit e8a91164d3
6 changed files with 8 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
pub mod interval;
+4 -5
View File
@@ -1,9 +1,8 @@
mod cafeteria; mod solvers;
mod interval; mod common;
mod printing_department;
fn main() { fn main() {
println!("### Advent of Code 2025 ###\n"); println!("### Advent of Code 2025 ###\n");
printing_department::PrintingDepartment::new().run(); solvers::printing_department::PrintingDepartment::new().run();
cafeteria::Cafeteria::new().run(); solvers::cafeteria::Cafeteria::new().run();
} }
+2
View File
@@ -0,0 +1,2 @@
pub mod cafeteria;
pub mod printing_department;
@@ -1,4 +1,4 @@
use crate::interval::Interval; use crate::common::interval::Interval;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use std::fs::File; use std::fs::File;
use std::io; use std::io;