**As you con see, there is no doubt that 836 is a simple question.**

**But I still got wrong answer again,would you like give me some hints about my wrong code?Thanks a lot.**

[cpp]#include<stdio.h>

void main(void)

{

int t;

int s[26][26];

int m[26][26];

char l;

int u,v,i,j,keep,max;

//freopen("input.txt","r",stdin);

scanf("%d\n",&t);

while(t>0)

{

for(u=0;u<26;u++)

{

s[0]=0;

s[0]=0;

}

keep=2;

for(u=1;u<=keep;u++)

{

for(v=1;v<27;v++)

{

scanf("%c",&l);

if(l=='\n')

{

keep=v-1;

break;

}

else if(l=='0')

{

s[v]=0;

}

else if(l=='1')

{

s[v]=1;

}

}

}

for(u=0;u<=keep;u++)

{

for(v=0;v<=keep;v++)

{

m[v]=0;

}

}

for(u=0;u<26;u++)

{

for(v=0;v<26;v++)

{

for(i=1;i<=keep;i++)

{

for(j=1;j<=keep;j++)

{

if(i>=u&&j>=v)

{

m

*[j]+=s[v];*

}

}

}

}

}

/*for(u=0;u<=keep;u++)

{

for(v=0;v<=keep;v++)

{

printf("(%d,%d)=%d ",u,v,m[v]);

}

}*/

max=0;

for(u=1;u<=keep;u++)

{

for(v=1;v<=keep;v++)

{

for(i=u;i<=keep;i++)

{

for(j=v;j<=keep;j++)

{

if(m[u-1][v-1]+m

}

}

}

}

}

/*for(u=0;u<=keep;u++)

{

for(v=0;v<=keep;v++)

{

printf("(%d,%d)=%d ",u,v,m[v]);

}

}*/

max=0;

for(u=1;u<=keep;u++)

{

for(v=1;v<=keep;v++)

{

for(i=u;i<=keep;i++)

{

for(j=v;j<=keep;j++)

{

if(m[u-1][v-1]+m

*[j]-m[u-1][j]-m**[v-1]==(i-u+1)*(j-v+1)||m[u-1][v-1]+m**[j]-m[u-1][j]-m**[v-1]==0)*

{

if((i-u+1)*(j-v+1)>max)

{

max=(i-u+1)*(j-v+1);

//printf(" %d %d %d %d \n",u,v,i,j);

}

}

}

}

}

}

printf("%d\n\n",max);

if(t!=1)

{

scanf("\n");

}

t--;

}

}[/cpp]{

if((i-u+1)*(j-v+1)>max)

{

max=(i-u+1)*(j-v+1);

//printf(" %d %d %d %d \n",u,v,i,j);

}

}

}

}

}

}

printf("%d\n\n",max);

if(t!=1)

{

scanf("\n");

}

t--;

}

}[/cpp]