SGU-275. To xor or not to xor(线性基模板题)
博主链接题目链接题意:给你n个数,求最大异或值题解:先求出线性基,用线性基求这组数出的最大值:从高往低扫,若异或上使答案变大,则异或。代码:#include<stdio.h>#include<bits/stdc++.h>using namespace std;typedef long long int ll;const int maxn=20010;...
原创
2018-10-20 23:00:20 ·
755 阅读 ·
0 评论