## [improvement group training 2021] Round2

I'm too lazy to talk nonsense. I'm a fool. C Title Description Given a tree with \ (n \) points, record \ (L(u,v) \) as the number of points on the \ ((u,v) \) simple path. For the path \ ((a,b),(c,d) \) point disjoint Quad \ ((a,b,c,d) \), we want to know how many different values \ ((L(a,b),L(c,d)) \) have. $$n\leq 5\cdot 10^5$$ solution The ...

Posted by gigabyt3r on Fri, 12 Nov 2021 03:07:43 +0100