题解 | 被打乱的异或和
被打乱的异或和
https://www.nowcoder.com/practice/116db6858c424fb89b821125053bbc15
#include <stdio.h>
int main(void) {
int t, n;
scanf("%d", &t);
while(t--){
scanf("%d", &n);
int a[n];
for(int i = 0; i < n; i++)
scanf("%d", &a[i]);
printf("%d\n", a[0]);
}
return 0;
}
查看5道真题和解析
