aoc::year2021::day23

Function parse

Source
pub fn parse(input: &str) -> Vec<Vec<usize>>
Expand description

Subtracts the ASCII value of A from each character of the input so that amphipod values match the constants defined above.