stacks of fla

时间:2018-08-23 15:29:17
【文件属性】:

文件名称:stacks of fla

文件大小:2KB

文件格式:CPP

更新时间:2018-08-23 15:29:17

acm

void flip(int i) { int swap; for(int left=0,right=i;;left++,right--) { if(left>=right) break; else { swap=a[right]; a[right]=a[left]; a[left]=swap; } } //每次翻转后都要调节len的值 //cout<<"\n数组分别为\n";for(int j=0;j


网友评论