Test case-3 not work

plz look at my code where i got mistake

vikas, plz send your code by saving on ide.

Vikas, ensure these conditions also in ur code,

if(ar[i][j]==’#’)
{
N=N+1;
}
else
if(ar[i][j]==’#’ && i==N-1)
{
break;
}

ur code doesnt have these conditions, try to add these conditions and then submit it