## Gardening Friends solution codeforces

Two friends, Alisa and Yuki, planted a tree with nn vertices in their garden. A tree is an undirected graph without cycles, loops, or multiple edges. Each edge in this tree has a length of kk. Initially, vertex 11 is the root of the tree. Alisa and Yuki are growing the tree not just for fun, they want to sell … Read more