afterward

导航

 

2012年8月23日

摘要: 列举后直接输出:View Code #include<stdio.h>int res[25]= {0,0,0,4,6,0,0,12,40,0,0,171,410, 0,0,1896,5160,0,0,32757,59984,0,0,431095,822229 };int main(){ int n; while(scanf("%d",&n),n) { printf("%d %d\n",n,res[n]); } return 0;}而这些数字是怎么列举出来的看下面代码。将正负号转化为二进制10i=2 两... 阅读全文
posted @ 2012-08-23 11:01 afterward 阅读(297) 评论(0) 推荐(0) 编辑