看下面的伪代码,最终输出的结果是( )
S←0
For I from 1 to 100 step 2
S←S+I2
End for
Print S
A.1+2+3+…+100 | B.12+22+32+…+1002 |
C.1+3+5+…+99 | D.12+32+52+…+992 |
推荐套卷
看下面的伪代码,最终输出的结果是( )
S←0
For I from 1 to 100 step 2
S←S+I2
End for
Print S
A.1+2+3+…+100 | B.12+22+32+…+1002 |
C.1+3+5+…+99 | D.12+32+52+…+992 |