CF 1044F - DFS

We are working with a fixed tree on $n$ vertices.

CF 1044F - DFS

Rating: 2700
Tags: data structures
Solve time: 1m 51s
Verified: no

Solution

Problem Understanding

We are working with a fixed tree on $n$ vertices.