![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
生成树计数
c_3Po_
这个作者很懒,什么都没留下…
展开
-
spoj HIGH - Highways
题目链接 题意:生成树计数模版题 #include<stdio.h> #include<iostream> #include<algorithm> #include<cmath> #include<cstring> #include<string.h> #include<queue> #include&原创 2018-11-22 17:27:55 · 123 阅读 · 0 评论 -
uva 10766 生成树计数
[kuangbin带你飞]专题八 生成树 I - Organising the Organisation 给出n,m,k,代表一家公司有n个部门,编号1到n,有m组关系,表示i和j不能直接联通,k代表主管部门,问你有多少种分层方案。 这道题的k没有什么用。。 #include<stdio.h> #include<iostream> #include<algo...原创 2018-11-22 19:25:40 · 129 阅读 · 0 评论