Function advent_of_code_2021::day_4::parse_input[−][src]

fn parse_input(contents: String) -> (Vec<u8>, Vec<BingoCard>)
Expand description

Parse the puzzle input into the internal representation. first there is a line of numbers in the sequence the will be called to mark on the cards, then 100 5 x 5 grids of numbers representing each card. The first line and each card are separated by blank lines.