CF1338B Edge Weight
Assignment 题解
题目链接:CF1338B
Edge Weight Assignment
题意:
给定一棵 \(n(3 \le n\le 10^5)\)
个点的无根树。
要求给每条边分配一
2024-01-19