Const n=8
a(1)=33:a(2)=8:a(3)=49:a(4)=25:a(5)=56:a(6)=3:a(7)=12:a(8)=41
x=n\2
For i=x To 2 Step-1
For j=1 To i - 1
If a(j)< a(i) Then
t=a(j):a(j)=a(i):a(i)=t
End If
Next j
Next i
i =n
Do While i>x+ 1
k=i
For j=i-1Tox+1 Step -1
If a(j)>a(k) Then k=j
Next j
If k<>I Then
t=a(k):a(k)=a(i):a(i)=t
End If
i=i-1
Loop
执行完这段代码后,数组a中各个元素的值为( )