能讲下PASCAL中选择排序?如题,PASCAL中选择排序?
如题,PASL中选择排序?
PASCAL中选择排序即选择性比较: fori:=1 to n-1 do for j:=i+1 to n do if a[i]>a[j] then swap(a[i],a[j]); 希望能给你帮助!!!