advent_of_code_2024::day_7

Function calculate_calibration_total

source
fn calculate_calibration_total(
    equations: &Vec<Equation>,
    ops: &Vec<fn(_: i64, _: i64) -> Option<i64>>,
) -> i64
Expand description

The puzzle solution is the sum of the equations that are solvable.