算法的空间复杂度是指( )。
A.算法程序的长度
B.算法程序中的指令条数
C.算法程序所占的存储空间
D.执行过程中所需要的存储空间
参考答案:D
如果组合中包括了全部股票,则投资人( )。
A.只承担市场风险
B.只承担特有风险
C.只承担非系统风险
D.不承担系统风险
阅读下面程序: Private Function a(load As Integer) As Single If load <20 then money = load/2else money =20 + loadend ifa = money End Function Private Sub Form_Click( )Dim load As Integer, fee As SingleLoad = InputBox("请输入一个数:")fee= a(loaD) Print fee End Sub输入20,运行后的输出结果是 【6】 。