y2015d23 refreshingly easy
This commit is contained in:
@@ -10,11 +10,11 @@ fn main() {
|
||||
fn part1() {
|
||||
let root = env!("CARGO_MANIFEST_DIR");
|
||||
let content = fs::read_to_string(format!("{root}/resources/23_input.txt")).unwrap();
|
||||
println!("{}", d23::process_part1(&content));
|
||||
println!("{:?}", d23::process_part1(&content));
|
||||
}
|
||||
|
||||
fn part2() {
|
||||
let root = env!("CARGO_MANIFEST_DIR");
|
||||
let content = fs::read_to_string(format!("{root}/resources/23_input.txt")).unwrap();
|
||||
println!("{}", d23::process_part2(&content));
|
||||
println!("{:?}", d23::process_part2(&content));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user