| 比赛 | 期末考试4 | 评测结果 | AAWWWWEEEE |
|---|---|---|---|
| 题目名称 | 故障机器人 | 最终得分 | 20 |
| 用户昵称 | HXF | 运行时间 | 0.592 s |
| 代码语言 | C++ | 内存使用 | 3.55 MiB |
| 提交时间 | 2026-02-12 11:03:17 | ||
#include <iostream>
#include <cstdio>
using namespace std;
int ans[]={0,1,4,24,180,1680,0};
int x;
int main(){
freopen("robot.in","r",stdin);
freopen("robot.out","w",stdout);
cin>>x;
cout<<ans[x]<<endl;
return 0;
}