I am not able to understand where am I going wrong . Test case 1 and 3 are showing WA
Funky chess board
Hello @gargayush34,
Why your code is in python?
I am a C++ TA.
Please, report this to [email protected] if you have enrolled to python.
Your code is failing for the testcase:
8
1 1 1 0 0 0 0 0
1 1 1 0 0 0 0 0
1 1 1 1 0 0 0 0
1 1 1 1 0 0 0 0
0 1 1 1 0 0 0 0
0 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1
0 0 0 0 0 0 0 0
Expected Output:
4
Hope, this would help.
how is the output in that case 4
ok got it…I missed one thing
Great @gargayush34,
Please, mark it as resolved if you don’t have any more doubts related to this.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.