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

fn parse_input(input: String) -> (HashSet<(usize, usize)>, Vec<(Axis, usize)>)
Expand description

The puzzle input is in two sections separated by a blank line. Section one is the initial set of dot co-ordinates, in the format x,y. Section two is a list of folds in the format fold along <axis>=<co-ordinate>.