摘要:
Symmetric Matrix 题意:构造满足上述4个条件的矩阵,问能构造多少个 分析:可以把这个矩阵看做是无向图的邻接矩阵,那么我们就可以把问题转化为求无向图中所有点的度数都为2的图有多少个。我们考虑\(f\left [ n\right ]\)表示\(n\)个结点的图满足条件的数量。 我们考虑图 阅读全文
posted @ 2020-05-17 10:52
swsyya
阅读(627)
评论(0)
推荐(0)
摘要:
Different Integers 具体见代码: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn=1e5+10; 5 const int mod=1e9+7; 6 阅读全文
posted @ 2020-05-17 09:57
swsyya
阅读(158)
评论(0)
推荐(0)

浙公网安备 33010602011771号