Direct edges of a tree to maximise pairs of reachable nodes

Revision en2, by infinitepro, 2021-04-01 08:46:16

The title states the problem — source. Constraints $$$N \le 25e4$$$

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English infinitepro 2021-04-01 08:46:16 5 Tiny change: 'raints $N <= 25e4$' -> 'raints $N \le 25e4$'
en1 English infinitepro 2021-04-01 08:43:11 208 Initial revision (published)