J Chen
Results
1
comments of
J Chen
@Tyilo you might need to maintain the size of virtual children as well, see Benq's implementation: [LCT.h#L27](https://github.com/bqi343/USACO/blob/master/Implementations/content/graphs%20(12)/Advanced/LCT.h#L27=), example problem: https://codeforces.com/contest/1681/problem/F