随笔分类 -  数学-组合数

摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 inline ll re_ad() { 5 char ch=getchar(); ll x=0,f=1; 6 while(ch<'0' || ch>'9 阅读全文
posted @ 2021-10-03 22:35 上官书房 阅读(49) 评论(0) 推荐(1)
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=2e5+11,M=4e5+11; 4 int n,ans,siz[N]; 5 int to[M],nxt[M],id[M],edge,head[N]; 6 7 inline 阅读全文
posted @ 2021-10-02 14:39 上官书房 阅读(32) 评论(0) 推荐(0)
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=2e6+11,M=61,L=(1<<13)+11,St=(1<<13); 5 int n,a[M]; 6 int tot,fr[ 阅读全文
posted @ 2021-09-30 12:08 上官书房 阅读(27) 评论(0) 推荐(0)
摘要:剩下部分组合数学基础,来自友帖 https://blog.csdn.net/zjy_code/article/details/118565967?spm=1001.2014.3001.5501 阅读全文
posted @ 2021-07-26 15:44 上官书房 阅读(42) 评论(1) 推荐(0)