y2015d14
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/14_input.txt")).unwrap();
|
||||
println!("{}", d14::process_part1(&content));
|
||||
println!("{}", d14::process_part1(&content, 2503));
|
||||
}
|
||||
|
||||
fn part2() {
|
||||
let root = env!("CARGO_MANIFEST_DIR");
|
||||
let content = fs::read_to_string(format!("{root}/resources/14_input.txt")).unwrap();
|
||||
println!("{}", d14::process_part2(&content));
|
||||
println!("{}", d14::process_part2(&content, 2503));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user