please help me still not getting where i'm wrong??

#include<stdio.h>
#include<string.h>
int main()
{
int t=0,i=0,j=0,max=0,count=0,sum=0,l=0,k=0;
int m[200],c[10000];
char s[10000];
scanf("%d",&t);
for(i=0;i<t;i++)
{
for(j=97;j<=133;j++)
{
m[j]=0;
}
scanf("\n%s",&s);
l=strlen(s);
max=0;
count=0;
sum=0;
for(j=0;j<l;j++)
{
if(s[j]!=’#’)
{
m[s[j]]++;
if(max<m[s[j]])
{
max=m[s[j]];
}
if(j==l-1)
{
if(count==3 && c[count]!=0 && c[count-1]!=0 && c[count-2]!=0)
{
if(max!=0)
sum=sum+max;
else
sum=0;
}
if(count>3)
{
if((sum<(c[count]+c[count-1]+c[count-2]+max)) && c[count]!=0 && c[count-1]!=0 && c[count-2]!=0 && max!=0)
{
sum=c[count]+c[count-1]+c[count-2]+max;
}
}
}
}
else
{
count++;
c[count]=max;
max=0;
for(k=97;k<=133;k++)
{
m[k]=0;
}
if(count==3 && c[count]!=0 && c[count-1]!=0 && c[count-2]!=0)
{
sum=c[count]+c[count-1]+c[count-2];
}
if(count==4 && c[count]!=0 && c[count-1]!=0 && c[count-2]!=0 && c[count-3])
{
sum=c[count]+c[count-1]+c[count-2]+c[count-3];
}
if(count>4)
{
if(sum<(c[count]+c[count-1]+c[count-2]+c[count-3]) && c[count]!=0 && c[count-1]!=0 && c[count-2]!=0 && c[count-3]!=0)
{
sum=c[count]+c[count-1]+c[count-2]+c[count-3];
}
}
}
}
if(count>=3 && sum!=0)
{
printf("%d",sum+3);
}
else
{
printf(“0”);
}
if(i!=t-1)
{
printf("\n");
}
}
return 0;
}

reading an improperly indented C code is worse than reading an assembly code