Funky Chessboard Problem in Backtraking

S18LPC-OL0076Akshay MattooFeb 151
https://ide.codingblocks.com/s/55905 8
The sample test case is giving correct output.
But on submitting it shows no-output and wrong answer

I have written another code now https://ide.codingblocks.com/s/74070 but it is giving wrong answer as well. Please help

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.