Getting wrong answer in two test cases

In Funky chess problem.

Hi @vg5823967
Kindly share your code ide so that i can have a look.

My Code https://ide.codingblocks.com/s/178145

Hi @vg5823967
You are missing one thing that is after all the 8 recursive call you have to reset board[x][y[ to 1.

Here is your corrected code :

If your doubt is clear then mark it as resolved.