codechef BLACKCOM

题意

codechef

做法

对于一棵树,若点数为\(s\)时黑点最少为\(l\)最多为\(r\),则黑点可行区间为\([l,r]\)

posted @ 2020-05-09 15:06  Grice  阅读(122)  评论(0编辑  收藏  举报