where my code -“https://ide.codingblocks.com/s/77899”
is incorrect, in which case it is giving error?
Wrong answer in one test case
Your code is not having these 2 conditions as per the question , include them and then try to submit your code after that
if(ar[i][j]==’#’)
{
N=N+1;
}
else
if(ar[i][j]==’#’ && i==N-1)
{
break;
}
N=N+1; //what does this line means ?
Ayush, try to submit it now, I have corrected your code,