key = Val(Text1.Text)
i = 1: j = n * 2 : flag = False
Do While i + 1 <= j And Not flag
m = (i + j) \ 2
If ① Then m=m-1
If a(m) = key Or a(m + 1) = key Then
flag = True
ElseIf a(m) > key Then
②
Else
③
End If
Loop
If a(i) = key Or a(j) = key Then flag = True
If flag Then Label1.Caption = "yes" Else Label1.Caption = "no"
划线处的代码正确的是( )