22 lines
511 B
Rust
22 lines
511 B
Rust
use std::fs;
|
|
|
|
use y2015::days::d15;
|
|
|
|
fn main() {
|
|
part1();
|
|
part2();
|
|
}
|
|
|
|
fn part1() {
|
|
let root = env!("CARGO_MANIFEST_DIR");
|
|
let content = fs::read_to_string(format!("{root}/resources/15_input.txt")).unwrap();
|
|
println!("{}", d15::process_part1(&content));
|
|
}
|
|
|
|
fn part2() {
|
|
//let root = env!("CARGO_MANIFEST_DIR");
|
|
//let content = fs::read_to_string(format!("{root}/resources/15_input.txt")).unwrap();
|
|
// change comments in part1
|
|
//println!("{}", d15::process_part2(&content));
|
|
}
|