fn parse_input(
    input: &String,
    line_parser: fn(_: &str) -> Vec<i64>
) -> Vec<Race>
Expand description

Parse input from a line of durations and a line current record best times into a list of records. How to parse each line is abstracted to a line_parser for each part