USACO 2020 US Open Contest, Platinum Problem 3. Circus
USACO 2020 US Open Contest, Platinum Problem 3. Circus The NN cows of Farmer John's Circus (1≤N≤1051≤N≤105) are preparing their upcoming acts. The acts all take place on a tree with vertices labele...