advent_of_code_2024::day_22

Function iterate_and_sum

source
fn iterate_and_sum(seeds: &Vec<u64>) -> u64
Expand description

Solves part 1 - take the 2000th value from each seed’s pseudorandom sequence and sum