A-A+

Items(58)and(59)arebasedonthefollowingPascalcode.fori:=1ton-1do

2020-11-27 05:10:36 问答库 阅读

问题详情

Items(58)and(59)arebasedonthefollowingPascalcode.fori:=1ton-1dobegink:=i:forj:=i+1tondoifA[j]<A[k]thenk:=j:ifk<>ithenbeginX:=A[k];A[k]:=A[i];A[i]:=xend;end;Thesortingmethoddescribedbythecodeiscalled
A.Insertionsort
B.Selectionsort
C.Radixsort
D.Mergesort
请帮忙给出正确答案和分析,谢谢!

参考答案

题库:
考点: