| 比赛 | 状态压缩DP练习 | 评测结果 | AAAAAAAAAAAAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 棋盘上的車 | 最终得分 | 100 |
| 用户昵称 | Hale | 运行时间 | 0.010 s |
| 代码语言 | C++ | 内存使用 | 13.66 MiB |
| 提交时间 | 2019-05-28 20:09:54 | ||
#include<bits/stdc++.h>
#define LL long long
using namespace std;
LL n;
LL ans;
int main()
{
freopen("rook.in","r",stdin);
freopen("rook.out","w",stdout);
scanf("%lld",&n);
ans=1;
for (int i=2;i<=n;i++)
ans=ans*i;
printf("%lld",ans);
return 0;
}