异或求最小值模板 #include <bits/stdc++.h> using namespace std; const int maxn=300005; int n,m; int a[maxn],b[maxn]; int ch[30*maxn][2]; int val[30*maxn]; int sz; void insert(int num){ int u=
题目:https://cn.vjudge.net/problem/NBUT-1597 [1597] Find MaxXorSum 时间限制: 2000 ms 内存限制: 65535 K问题描述 Given n non-negative integers, you need to find two integers a and b that a xor b is maximum. xor is