mirror of
https://github.com/RussellChamp/advent-of-code-2016.git
synced 2026-10-27 23:32:30 +00:00
Day 16 solution
This commit is contained in:
1 parent
bf09613292
commit
282b53b42b
4 files changed
+96
-1
No files matched your search
@@ -128,7 +128,7 @@ fn main() {
|
||||
//print_maze(32, 40, 1358);
|
||||
build_maze(&mut maze, 1358);
|
||||
walk_maze(&mut maze, (1, 1), 0);
|
||||
//print_maze(&maze);
|
||||
print_maze(&maze);
|
||||
let end = (31, 39);
|
||||
println!("Part 1: It takes {} steps to get to ({}, {})", maze[end.1][end.0].1, end.0, end.1);
|
||||
unsafe {
|
||||
|
||||
Reference in new issue
Block a user