Tasks form a tree of subtasks. A task with subtasks takes x if all its subtasks take x, otherwise the sum of their times. Find the time of the whole task.
Tasks form a tree of subtasks. A task with subtasks takes x if all its subtasks take x, otherwise the sum of their times. Find the time of the whole task.
Opens with the full question.