s = ""
i = 1:j = 10:k = 1
Do While i <= j
m = Int((i + j) / 2)
If a(m) > b(k) Then j = m - 1 Else i = m + 1
If a(m) = b(k) Then k = k + 1:s = s + Str(m)
Loop
数组元素a(1)到a(10)依次为“2,3,7,9,10,15,15,15,19,20”,执行该程序段后,变量s的值有3个字符,则b(1)到b(3)的值可能为( )
微信扫码预览、分享更方便