摘要:
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... 阅读全文
摘要:
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;... 阅读全文