Update structure of modules
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
pub mod interval;
|
||||||
+4
-5
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
Reference in New Issue
Block a user