记录编号 |
238070 |
评测结果 |
AAAAA |
题目名称 |
[长郡中学2004] 0/1字符串问题 |
最终得分 |
100 |
用户昵称 |
Hzoi_ |
是否通过 |
通过 |
代码语言 |
C++ |
运行时间 |
0.000 s |
提交时间 |
2016-03-18 16:50:39 |
内存使用 |
0.29 MiB |
显示代码纯文本
#include<cstdio>
using namespace std;
int a[]={0,2,4,6,10,16,24,36,56,80,118,174,254,378,554,802,1168,1716,2502,3650,5324,7754,11320,16502,24054,35058,51144,74540,108664,158372,230800,336480,490458,714856,1041910,1518840,2213868,3226896,4703372,6855388,9992596};
int n;
int main(){
freopen("str01.in","r",stdin);
freopen("str01.out","w",stdout);
scanf("%d",&n);
printf("%d",a[n]);
return 0;
}