restructure and optimize (fuck you @Doloro1978)

This commit is contained in:
2025-12-03 19:19:09 +04:00
parent 8bee5bd9a3
commit 492b61bd04
13 changed files with 776 additions and 105 deletions

12
src/bin/day01.rs Normal file
View 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(())
}