advent_of_code_2024::day_13

Function sum_prize_costs

source
fn sum_prize_costs(machines: &Vec<Machine>, offset: i64) -> i64
Expand description

Use Machine::get_cost_for_prize to get the total cost over all valid machines