b.rs (164B)
1 mod common; 2 use common::*; 3 4 fn main() { 5 let mut map = read_input(); 6 let end = |c: &Cell| c.h == 0; 7 println!("{}", shortest_path_back(&mut map, end)); 8 }
![]() | aocMy solutions for the Advent of Code |
git clone https://git.tronto.net/aoc | |
Download | Log | Files | Refs | README |
b.rs (164B)
1 mod common; 2 use common::*; 3 4 fn main() { 5 let mut map = read_input(); 6 let end = |c: &Cell| c.h == 0; 7 println!("{}", shortest_path_back(&mut map, end)); 8 }