Skip to main content

part2

Function part2 

Source
pub fn part2(input: &(usize, usize)) -> usize
Expand description

Handle each player separately. The number of universes for each player grows independently. When a player wins, then multiply the number of states by the other player’s states.