Function advent_of_code_2023::day_7::total_winnings
source · fn total_winnings(hands: &Vec<Hand>) -> i32
Expand description
Reduce a list of cards to the puzzle solution. This is their place in the ranking when sorted weakest first multiplied by the amount bid.