Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
136801 曾煦翔 N皇后问题 C++ 通过 100 0 MS 240 KB 214 2024-03-09 15:19:44

Tests(10/10):


#include <bits/stdc++.h> using namespace std; int a[] = {0 , 1 , 0 , 0 , 2 , 10 , 4 , 40 , 92 , 352 , 724 , 2680 , 14200,73712,365596,2279184}; int main() { int n; cin >> n; cout << a[n]; return 0; }


测评信息: