N KINGS problem 5322

https://ide.codingblocks.com/s/63290 1
https://hack.codingblocks.com/practice/p/406/1714
2 test cases not passed

Hi AASTHA, just change long to long long unsigned int everywhere and also change the return type of count function to long long unsigned int.
Your code will work fine now :slight_smile:

thanks. Its done now :smile:

Hi AASTHA, since your doubt has been resolved pls mark this as well as this -> N kings problem 123 thread as resolved.