【树形DP && 该点到其它n-1要逆转的道路最少】CodeForces - 219D Choosing Capital for Treeland

NoSuchKey