restructure and optimize (fuck you @Doloro1978)
This commit is contained in:
12
src/bin/day01.rs
Normal file
12
src/bin/day01.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use aoc_2025::day01;
|
||||
use color_eyre::Report;
|
||||
|
||||
fn main() -> Result<(), Report> {
|
||||
color_eyre::install()?;
|
||||
let data = day01::data("inputs/day01.txt")?;
|
||||
let code1 = day01::part1(&data)?;
|
||||
let code2 = day01::part2(&data)?;
|
||||
println!("code1: {code1}");
|
||||
println!("code2: {code2}");
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user