My issue
someone can explain me why its a wrong answer… it passed all test cases except one…
My code
#include <stdio.h>
int main(void) {
// your code goes here
int t;
scanf("%d",&t);
while(t--){
int n;
scanf("%d",&n);
int a,c=0;
for(int i=0;i<n;i++){
scanf("%d",&a);
c=c^a;
}
if(c==0) printf("Yes\n");
else printf("No\n");
}
return 0;
}
Problem Link: PETSTORE Problem - CodeChef