摘要: #include <cstdio> #include <cstring> #include <algorithm> using namespace std; int n,m; double dp[1010][20],ans; struct edge{double p,q;}a[1010]; bool 阅读全文
posted @ 2020-08-06 20:41 wqtnb_tql_qwq_%%% 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 生成树计数 按位枚举每一位为1的个数在进行最小生成树计数时间复杂度O(Tn^2*30) #include <bits/stdc++.h> using namespace std; #define N 110 #define LL long long #define ll long long LL K 阅读全文
posted @ 2020-08-06 19:40 wqtnb_tql_qwq_%%% 阅读(133) 评论(0) 推荐(0) 编辑