roads array.fuel to store the total fuel required.dfs function that takes a node and its parent as arguments.
representatives to 1 (for the representative at the current node).child of node, if child is not the parent, recursively call dfs with child and node.representatives.node is not the root, add ceil(representatives / seats) to fuel.dfs with the root node (0) and a dummy parent (-1).fuel.