2015年1月13日
摘要: 11intvec_rotate(char*vec,introtdist,intlength){22inti,j,k,times;33chart;44times=gcd(rotdist,length);55printf("%d\n",times);66for(i=0;i=length)1212k-=l... 阅读全文
posted @ 2015-01-13 12:38 小黄驴 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1 int vec_rotate(char *vec,int rotdist, int length) { 2 int i,j,k,times; 3 char t; 4 times = gcd(rotdist,length); 5 printf("%d\n",times); 6 for(i=0;... 阅读全文
posted @ 2015-01-13 12:36 小黄驴 阅读(115) 评论(0) 推荐(0) 编辑
  2015年1月8日
摘要: 1 while(scanf("%d",&n)!=EOF) 2 { 3 res=-1; 4 level(tmp,n,res,1); 5 printf("%d/n",res); 6 }View Code 阅读全文
posted @ 2015-01-08 19:56 小黄驴 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1 while(scanf("%d",&n)!=EOF) 2 { 3 res=-1; 4 level(tmp,n,res,1); 5 printf("%d/n",res); 6 }View Code 阅读全文
posted @ 2015-01-08 19:51 小黄驴 阅读(296) 评论(0) 推荐(0) 编辑
  2015年1月5日
摘要: 是滴是滴 阅读全文
posted @ 2015-01-05 13:20 小黄驴 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1 unsigned a: 2;2 unsigned b: 6;3 unsigned c: 4;4 unsigned d: 4;5 int i;}data;C语言代码 阅读全文
posted @ 2015-01-05 13:11 小黄驴 阅读(150) 评论(0) 推荐(0) 编辑
  2014年11月18日
摘要: dddd 1 int vec_rotate(char *vec,int rotdist, int length) { 2 int i,j,k,times; 3 char t; 4 times = gcd(rotdist,length); 5 printf("%d\n",times); 6 for(... 阅读全文
posted @ 2014-11-18 22:35 小黄驴 阅读(226) 评论(0) 推荐(0) 编辑
摘要: hele结束 阅读全文
posted @ 2014-11-18 22:31 小黄驴 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 非常高兴。int vec_rotate(char *vec,int rotdist, int length) { int i,j,k,times; char t; times = gcd(rotdist,length); printf("%d\n",times); fo... 阅读全文
posted @ 2014-11-18 22:28 小黄驴 阅读(193) 评论(0) 推荐(0) 编辑