This repository has been archived on 2023-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
2022-12-15 08:12:37 -05:00
|
|
|
fn main() {
|
2022-12-15 16:53:02 -05:00
|
|
|
let file_str = include_str!("input.txt");
|
2022-12-23 11:25:21 -05:00
|
|
|
let mut finder = ::day12::Pathfinder::from_file_str(file_str);
|
2022-12-22 15:27:27 -05:00
|
|
|
let shortest_path = finder.find_shortest_path();
|
2022-12-21 16:05:58 -05:00
|
|
|
|
2022-12-22 15:27:27 -05:00
|
|
|
println!("Part 1: Fewest steps: {}", shortest_path.get_len());
|
2022-12-15 16:53:02 -05:00
|
|
|
}
|