Codeforces tree with maximum cost rerooting dp editorial. Shree durga gautham. نيك دنيا مع انطونيو. Resistance of a capacitor formula.