mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2026-02-04 14:12:02 +00:00
finished day 08
This commit is contained in:
9
2023/day-08/src/bin/part1.rs
Normal file
9
2023/day-08/src/bin/part1.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use color_eyre::Result;
|
||||
use day_08::part1::process;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let file = include_str!("../../input1.txt");
|
||||
let result = process(file)?;
|
||||
println!("{}", result);
|
||||
Ok(())
|
||||
}
|
||||
9
2023/day-08/src/bin/part2.rs
Normal file
9
2023/day-08/src/bin/part2.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use color_eyre::Result;
|
||||
use day_08::part2::process;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let file = include_str!("../../input2.txt");
|
||||
let result = process(file)?;
|
||||
println!("{}", result);
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user