答案在这
#include<iostream>
using namespace std;
int arr[13]={0,1,0,0,2,10,4,40,92,352,724,2680,14200};
int main(){
int n;
cin>>n;
cout<<arr[n];
return 0;
}
#include<iostream>
using namespace std;
int arr[13]={0,1,0,0,2,10,4,40,92,352,724,2680,14200};
int main(){
int n;
cin>>n;
cout<<arr[n];
return 0;
}