>>> 0^0^0 0 >>> 0^0^1 1 >>> 0^1^1 0 >>> 1^1^1 1 整个数列异或和为0时,无解 奇数乱搞 偶数长度时,将问题拆解成两个奇数长度且偶数xor和 #include <bits/stdc++.h> #define sc(x) scanf("%lld", &(x)) #define pr(x) printf("%lld\n", (x)) #define rep(i, l, r) for (int i = l; i <= ...