UVA932 Checking the N-Queens Problem

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=873 [PDF](https://uva.onlinejudge.org/external/9/p932.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA932/4a7754bbf000affdb34d47a0b60c7323415e5232.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA932/80e9f0c9edb1109f124873c27790ed307d912fa2.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA932/3ca488d8416d382bfabdf0eef45acd186baea8f9.png)