[AGC010F] Tree Game 题解题目链接:[AGC010F] Tree Game
题意:
有一棵 $n$ 个节点的树,第 $i$ 条边连接 $a_i,b_i$,每个节点 $i$ 上有 $A_i$ 个石子,高桥君和青木君将在树上
2024-01-18