s = Text1. Text
n = Len( s)
For i = 1 To n
y( i) = 1
Next i
For i=1 To ( 1)
For j=( 2) To n
If ( 3) Then
y( j)=y( j)+1
Else
y( i) = y( i) + 1
End If
Next j
Next i
上述程序段3个方框处的表达式分别为
A.(1)n(2)1(3)Mid(s,j,1)>= Mid(s,i,1) |
B.(1)n(2)1(3)Mid(s,j,1)> Mid(s,i,1) |
C.(1)n-1(2)i+1(3)Mid(s,j,1)>= Mid(s,i,1) |
D.(1)n-1(2)i+1(3)Mid(s,j,1)> Mid(s,i,1) |
同类型试题
y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2
y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2