[Login|Register]
Problems

Status

Rank

Problem 1393
N皇后II
Time Limit: 1000ms
Memory Limit: 65536kb
Description
输入每行一个整数n,输出n皇后解的个数。
Input
每行一个n, 6 <= n <= 11
Output
每行一个数x,表示n皇后解的个数
Sample Input
6
7
8
Sample Output
4
40
92
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.1ms with 1 query(s).