day 8
note: I don't really like this solution but whatever fuck it burn :flame:
This commit is contained in:
8
src/bin/day08_1.rs
Normal file
8
src/bin/day08_1.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use std::fs;
|
||||
|
||||
use aoc2022::day08::process_part_1;
|
||||
|
||||
fn main() {
|
||||
let file = fs::read_to_string("./inputs/day8.txt").unwrap();
|
||||
println!("{}", process_part_1(&file));
|
||||
}
|
||||
8
src/bin/day08_2.rs
Normal file
8
src/bin/day08_2.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use std::fs;
|
||||
|
||||
use aoc2022::day08::process_part_2;
|
||||
|
||||
fn main() {
|
||||
let file = fs::read_to_string("./inputs/day8.txt").unwrap();
|
||||
println!("{}", process_part_2(&file));
|
||||
}
|
||||
Reference in New Issue
Block a user