Solution to Codeforces 2040E
Link to pr... Read more
Link to pr... Read more
A combinatorics problem on tree. Read more
View the problem here. Read more
Two versions of a expectation problem, solved using properties of expectations of random variables and dynamic programming. Read more
题目链接 题意:给定一棵无根树,求出在每个节点被分别删除的情况下,剩下的森林中每棵树直径的最大值。 Read more