#include <iostream> #define MAX 100000 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ //xor区间:xor=0的条件,a[i]=0;或者相邻的数相等 //如果有3个数,前两者异或与第三者异或得零 int main(int argc, char** argv) { int n; int a[MAX]; int sum; int count=0; scanf("%d",&n...