CHNUM problem

#include<stdio.h>
int main()
{ int j,i,T;
scanf("%d",&T);

for(j=0;j<T;j++)
{ int N;
scanf("%d",&N);
int s=0,s1=0,a[N];
i=0;
while(i<N)
{ scanf("%d",&a[i]);
i++;}
for(i=0;i<N;i++)
{
if(a[i]>=0)
s++;
else
s1++;

  }

<T;j++)
{ int N;
scanf("%d",&N);
int s=0,s1=0,a[N];
i=0;
while(i<N)
{ scanf("%d",&a[i]);
i++;}
for(i=0;i<N;i++)
{
if(a[i]>=0)
s++;
else
s1++;

  }

   if(s==N)
   printf("%d %d\n",N,s);

   else
    printf("%d %d\n",s,s1);
     }

return 0; }
In this code// if(s==N)
printf("%d %d\n",N,s);
else
printf("%d %d\n",s,s1);
}
works just fine but why the output as per the problem should be (largest possible,smallest possible) this does not include all possibilities?

I saw you got AC. Do you still have doubts?