02 2022 档案

摘要:\(Code\) #include<cstdio> #include<cstring> #include<algorithm> #define LL long long using namespace std; const int N = 2e7 + 5; LL z[N],p[N]; char a[ 阅读全文
posted @ 2022-02-22 12:51 RiverSheep 阅读(28) 评论(0) 推荐(0) 编辑
摘要:\(Code\) #include<cstdio> #include<cstring> #include<algorithm> #define LL long long using namespace std; const int N = 2e7 + 5; LL z[N],p[N]; char a[ 阅读全文
posted @ 2022-02-22 12:48 RiverSheep 阅读(29) 评论(0) 推荐(0) 编辑
摘要:\(Solution\) 一道比较模板的线性基,设$a$为线性基中元素的个数,那么答为 \(\sum_{i = 0}^a \binom{a}{i} = \sum_{i = 0}^a \binom{a}{i}*1^i*1^{a - i} = (1 + 1)^a = 2^a\) 因为从线性基中取任意个数 阅读全文
posted @ 2022-02-10 21:57 RiverSheep 阅读(29) 评论(0) 推荐(0) 编辑