N queen problem dont understand why giving wrong answer

https://www.codechef.com/ide

kindly paste your code on https://ide.codingblocks.com and then save and post your query

https://ide.codingblocks.com/s/67093
I have paste it now help me

Your code is not working for N=8, giving wrong answer.

https://hack.codingblocks.com/contests/c/239/383
R u talking about this problem.
If yes, then your output format is not correct.
else
paste problem link
and you are printing wrong config for N=8

no i simply wanted to print the board of chess but dont know why it is giving wrong answer can you please help me want mistake i am doing

@Himanshu-Kashyap-635252480157924 https://ide.codingblocks.com/s/67256
I have made changes to your code. Check now !!

thanku i got my mistake