……*
*…**.
This one was essential in debugging my solution
EDIT (From @vijju123)- The expected Output for above case is 3. Full test case-
1
7
*..*..*
*...**.
……*
*…**.
This one was essential in debugging my solution
EDIT (From @vijju123)- The expected Output for above case is 3. Full test case-
1
7
*..*..*
*...**.
1
10
*...*....*
.**...*...
ANSWER:3
Can someone please tell me which test case my code is failing for?
https://www.codechef.com/viewsolution/13990507
Thankyou in advance.
P.S. It is passing all the above test cases given.
Can someone please tell me which test case my code is failing for, all the above test cases are working? CodeChef: Practical coding for everyone Thank you.
The thread is still growing and needs help of fellow members. Any edge cases you people discover, please make sure to put here as an answer. It will surely help some other fellow coder here! 
Hey thanks for those cases, that answers many questions by people asking for cases. 
Thanks for the appreciation dear 
if no one answers in an hour, i will have a look at it 
thanks for the test cases
Found the test case.
Thank you for replying.
Your query is resolved?
Can you share it here? 
Input
1
5
.*..*
...*.
Your Output
0
Expected Output
2
It is giving me 2 when I am running it locally on my laptop
Run it on codechef IDE once. Its giving me a 0, checked thrice.
Its coming from this line-
if(a0==0 && a1==0)
c=0;
it is giving 2 in my compiler too
Oh God! Lmao. @devangm, your code is on UNDEFINED behaviour.
Please use EITHER scanner/printf OR cin/cout after typing
ios_base::sync_with_stdio(0);
cin.tie(0);
If you use both scanner/printf and cin/cout after typing above 2 statements, your program will show undefined behaviour, giving different output on different compiler.
Damn! That is how you lose out on an online elimination spot. 