Why am i getting tle for shoe problem?

#include
#include<bits/stdc++.h>
using namespace std;
int main () {
int n;
cin>>n;
while(n–)
{
long long arr[2n];
long long count=0,count1=0;
for(int i=0;i<2
n;i++)
{
cin>>arr[i];
}
for(int i=0;i<2n;i++)
{
if(arr[i]%2==0)
count++;
else
count1++;
}
cout<<(count1
count)%1000000007<<endl;
}
return 0;
}

@neha_153,
Please share Coding Blocks IDE Link of your code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.