advent_of_code_2024::day_14

Function total_safety_factor_after_steps

source
fn total_safety_factor_after_steps(
    robots: &Vec<Robot>,
    steps: usize,
    bounds: &(usize, usize),
) -> usize
Expand description

The solution to part 1 - simulate steps seconds and then get the total_safety_factor of the new positions.