aoc::year2021::day14

Function parse

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

Count the initial pairs and elements and parse each instruction into a Rule struct.