Function advent_solutions::advent2017::day09::part1 [] [src]

pub fn part1(root: &Node) -> usize

Your goal is to find the total score for all groups in your input. Each group is assigned a score which is one more than the score of the group that immediately contains it. (The outermost group gets a score of 1.)

What is the total score for all groups in your input?