排序算法
冒泡排序
void BubbleSort(int a[],int n)
{
for(int i=0;i<n;i++)
{
for(int j=0;j<n-i;j++)
{
if(a[j]>a[j+1])
原创
2019-01-01 02:48:20 ·
139 阅读 ·
0 评论