![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线性基
*Slime*
这个作者很懒,什么都没留下…
展开
-
2019暑假牛客多校赛第一场H.XOR(线性基)
H.XOR(线性基)传送门题目描述Bobo has a set A of n integers a1,a2,…,ana_1, a_2, \dots, a_na1,a2,…,an .He wants to know the sum of sizes for all subsets of A whose xor sum is zero modulo (109+7)(10^9+7)(109+...原创 2019-08-04 23:24:07 · 230 阅读 · 0 评论 -
2019暑假杭电多校赛第一场B.Operation(前缀线性基求最大异或和+贪心)
Operation传送门Problem DescriptionThere is an integer sequence a of length n and there are two kinds of operations:0 l r: select some numbers from al...ara_l...a_ral...ar so that their xor sum is m...原创 2019-08-01 22:05:21 · 248 阅读 · 0 评论