aoc::year2019::day04

Function passwords

Source
fn passwords(
    input: &[u32],
    predicate: impl Fn(bool, bool, bool, bool, bool) -> bool,
) -> u32