
树形DP
Cherry_0525
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【树形DP】HDU - 2376 Average distance 所有简单路径权值和
Average distanceHDU - 2376Given a tree, calculate the average distance between two vertices in the tree. For example, the average distance between two vertices in the following tree is (d01...原创 2019-07-02 18:17:04 · 226 阅读 · 0 评论 -
【树形DP】Codeforces Round #513 E. Sergey and Subway 所有简单路径和(新增边)
http://codeforces.com/contest/1060/problem/EE. Sergey and SubwaySergey Semyonovich is a mayor of a county city N and he used to spend his days and nights in thoughts of further improvements of Nke...原创 2019-07-02 18:20:31 · 230 阅读 · 0 评论 -
【思维】Codeforces Round #513 C. Maximum Subrectangle
C. Maximum Subrectanglehttp://codeforces.com/contest/1060/problem/CYou are given two arraysaandbof positive integers, with lengthnandmrespectively.Letcbe ann×m matrix, whereci,j=a...原创 2019-07-02 18:27:07 · 203 阅读 · 0 评论