aoc::year2019::day20

Function parse

Source
pub fn parse(input: &str) -> Maze
Expand description

Parsing takes two passes. First we find the location of each portal. Then we BFS from each portal to build a list of distance pairs.