Help me in solving MISSP problem

My issue

My code

#include <stdio.h>

int main(void) {
	// your code goes here
int t;
	scanf("%d",&t);
	while(t--){
	     int n,left=0;
	    scanf("%ld",&n);
	  int arr[n];
	    for( int i=0;i<n;i++){
	        scanf("%d\n",&arr[i]);
	    }
	    for(int i=0;i<n;i++){
	      if(arr[i]%2==1){
	         left++;
	      }  
	    }
	   printf("%d",left);
	}
	return 0;
}


Problem Link: MISSP Problem - CodeChef

@shreya_0264
U have to count the freq of each number and if the freq of a number is odd then u have to return that number.