比赛 期末考试2 评测结果 AWWWWWWWWW
题目名称 数图 最终得分 10
用户昵称 HXF 运行时间 0.023 s
代码语言 C++ 内存使用 3.70 MiB
提交时间 2026-02-10 11:45:10
显示代码纯文本
#include <iostream>
#include <cstdio>
using namespace std;
const int mod=1e9+7;
const int N=305;
int res[]={0,0,0,1,9,216,7570,357435,22040361,721632017,261965794};
int x;
int main(){
	freopen("grafy.in","r",stdin);
	freopen("grafy.out","w",stdout);
	cin>>x;
	cout<<res[x]<<endl;
	return 0;
}