摘要:
#include void bubble_sort(int a[],int n)//n为数组a的元素个数 { int i,j,temp; for(j=0;ja[i+1]) { temp=a[i]; a[i]=a[i+1]; a[i+1]=temp; ... 阅读全文
posted @ 2014-08-16 10:49
2014acm
阅读(121)
评论(0)
推荐(0)
摘要:
#include void bubble_sort(int a[],int n)//n为数组a的元素个数 { int i,j,temp; for(j=0;ja[i+1]) { temp=a[i]; a[i]=a[i+1]; a[i+1]=temp; ... 阅读全文
posted @ 2014-08-16 10:31
2014acm
阅读(159)
评论(0)
推荐(0)