| 比赛 | exam | 评测结果 | AAAAAAAAAAAAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 棋盘上的車 | 最终得分 | 100 |
| 用户昵称 | 东林桂香 | 运行时间 | 0.004 s |
| 代码语言 | C++ | 内存使用 | 0.31 MiB |
| 提交时间 | 2017-07-04 08:02:21 | ||
#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int n;
int main()
{
freopen("rook.in","r",stdin);
freopen("rook.out","w",stdout);
scanf("%d",&n);
long long int ans=1;
for(int i=1;i<=n;i++)
ans*=i;
printf("%lld",ans);
fclose(stdin);
fclose(stdout);
return 0;
}