aoc::year2022::day11

Function parse

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

Extract each Monkey’s info from the flavor text. With the exception of the lines starting Operation we are only interested in the numbers on each line.