Function advent_of_code_2021::day_10::sum_errors[−][src]

fn sum_errors(input: &String) -> usize
Expand description

Find all the lines in the input that return a mismatch error and sum a score based on the character that was incorrect.