Run error in N queen

Dear Team,

I am getting run error in test case 2 for N queen problem. Can you please tell what is the issue?

my code: https://ide.codingblocks.com/s/286789

Check the constraints given in the question
Constraints

1<=N<=11

But you have restricted your matrix size to 10 x 10
Increase it and then check

Yes it worked. Thank you

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.