| 记录编号 | 550842 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 220.[NOIP 2008]火柴棒等式 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.004 s | ||
| 提交时间 | 2020-03-20 13:12:12 | 内存使用 | 4.40 MiB | ||
#include<cstdio>
using namespace std;
const int match[25]={0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,8,9,6,9,29,39,38,65,88,128};
int n;
int main(){
freopen("matches.in","r",stdin);
freopen("matches.out","w",stdout);
scanf("%d",&n);
printf("%d",match[n]);
return 0;
}