摘要:
#includeint main(void){ int i,index,n,max; int a[10]; scanf("%d",&n); for(i=0;ia[max]) int temp2; temp2=a[max]; a[max]=a[n-1]; a[n-1]=temp2; for(i=0;i<n;i++) printf("%d",a[i]); return 0;} 阅读全文
posted @ 2013-11-25 09:56
huangsilinlana
阅读(128)
评论(0)
推荐(0)
摘要:
#includeint main(void){ int x,y; scanf("%d",&x); if(x=1)||(x<10)){ y=2*x-1; } else{ y=3*x-11; } printf("=%.2d\n",x,y); return 0;} 阅读全文
posted @ 2013-11-25 08:41
huangsilinlana
阅读(132)
评论(0)
推荐(0)