Hi,↵
"""You are given a tree of $$$n$$$ vertices and $$$n - 1$$$ edges. The $$$i$$$-th vertex has an initial weight $$$a_i$$$."""↵
As you can see in the above text line the formatting of variables is not correct on the codeforce platform.↵
I am facing this problem form last month.↵
I tried to solve it but there i am unable to do.↵
can anyone help me to resolve out the problem↵
"""You are given a tree of $$$n$$$ vertices and $$$n - 1$$$ edges. The $$$i$$$-th vertex has an initial weight $$$a_i$$$."""↵
As you can see in the above text line the formatting of variables is not correct on the codeforce platform.↵
I am facing this problem form last month.↵
I tried to solve it but there i am unable to do.↵
can anyone help me to resolve out the problem↵