• 2022-06-16 问题

    正弦交流电路中,电容元件两端的电压u=220√2sin(ωt+30°)V,XC=10Ω,则电容电流为()A。 A: i=22√2sin(ωt+30°) B: i=22√2sin(ωt+120°) C: i=22√2sin(ωt-60°) D: i=22sin(ωt+120°)

    正弦交流电路中,电容元件两端的电压u=220√2sin(ωt+30°)V,XC=10Ω,则电容电流为()A。 A: i=22√2sin(ωt+30°) B: i=22√2sin(ωt+120°) C: i=22√2sin(ωt-60°) D: i=22sin(ωt+120°)

  • 2022-06-08 问题

    中国大学MOOC: OPT[i][w]=max{OPT[i-1][w],OPT[i][w-w[i]]+v[i]},这是()问题的递推关系。[/i][/i][/i][/i]

    中国大学MOOC: OPT[i][w]=max{OPT[i-1][w],OPT[i][w-w[i]]+v[i]},这是()问题的递推关系。[/i][/i][/i][/i]

  • 2022-06-03 问题

    #include &#91;stdio.h&#93;int main() { int a&#91;3&#93;&#91;3&#93;,i,j; for(i=0;i<3;i++) for(j=0;j<3;j++) a[i]&#91;j&#93;=3*i+j; for(i=0;i<3;i++) printf("%d ",a[i]&#91;1&#93;); return 0;}[/i][/i]

    #include &#91;stdio.h&#93;int main() { int a&#91;3&#93;&#91;3&#93;,i,j; for(i=0;i<3;i++) for(j=0;j<3;j++) a[i]&#91;j&#93;=3*i+j; for(i=0;i<3;i++) printf("%d ",a[i]&#91;1&#93;); return 0;}[/i][/i]

  • 2022-06-15 问题

    下面代码的输出结果是: 。ls = &#91;&#91;1,3,6&#93;,&#91;4,6,3&#93;,&#91;2,8,5&#93;&#93;sum1,sum2 = 0,0for i in range(3):sum1 = sum1 + ls[i][i]sum2 = sum2 + ls[i]&#91;2-i&#93;print("sum1={},sum2={}".format(sum1,sum2))[/i][/i][/i]

    下面代码的输出结果是: 。ls = &#91;&#91;1,3,6&#93;,&#91;4,6,3&#93;,&#91;2,8,5&#93;&#93;sum1,sum2 = 0,0for i in range(3):sum1 = sum1 + ls[i][i]sum2 = sum2 + ls[i]&#91;2-i&#93;print("sum1={},sum2={}".format(sum1,sum2))[/i][/i][/i]

  • 2022-07-01 问题

    若有int a&#91;5&#93;&#91;5&#93;;则*(a+i)+j是a[i]&#91;j&#93;的地址,*(a+i)等价于a[i]等价于&a[i]&#91;0&#93;[/i][/i][/i]

    若有int a&#91;5&#93;&#91;5&#93;;则*(a+i)+j是a[i]&#91;j&#93;的地址,*(a+i)等价于a[i]等价于&a[i]&#91;0&#93;[/i][/i][/i]

  • 2022-06-01 问题

    已知列表m=&#91;&#91;1,2&#93;,&#91;3,4&#93;&#93;,有列表a=&#91;&#91;row[i] for row in m&#93; for i in range(2)&#93;,则a&#91;0&#93;&#91;1&#93;是[/i]

    已知列表m=&#91;&#91;1,2&#93;,&#91;3,4&#93;&#93;,有列表a=&#91;&#91;row[i] for row in m&#93; for i in range(2)&#93;,则a&#91;0&#93;&#91;1&#93;是[/i]

  • 2022-06-01 问题

    已知x=&#91;&#91;1,2,3&#93;,&#91;4,5,6&#93;&#93;,表达式&#91;&#91;row[i] for row in x&#93; for i in range(len(x&#91;0&#93;))&#93;的值为(______ )。[/i]

    已知x=&#91;&#91;1,2,3&#93;,&#91;4,5,6&#93;&#93;,表达式&#91;&#91;row[i] for row in x&#93; for i in range(len(x&#91;0&#93;))&#93;的值为(______ )。[/i]

  • 2022-05-27 问题

    n阶对称矩阵a满足a[i]&#91;j&#93;=a&#91;j&#93;[i],i,j=1…n,用一维数组t存储时,t的长度为____,当i=j,a[i]&#91;j&#93;=t&#91;2&#93;,i>;j,a[i]&#91;j&#93;=t&#91;3&#93;,i<;j,a[i]&#91;j&#93;=t&#91;4&#93;。[/i][/i][/i][/i][/i]

    n阶对称矩阵a满足a[i]&#91;j&#93;=a&#91;j&#93;[i],i,j=1…n,用一维数组t存储时,t的长度为____,当i=j,a[i]&#91;j&#93;=t&#91;2&#93;,i>;j,a[i]&#91;j&#93;=t&#91;3&#93;,i<;j,a[i]&#91;j&#93;=t&#91;4&#93;。[/i][/i][/i][/i][/i]

  • 2022-06-11 问题

    for i in range(4):if i%2==0:print(i)breakprint(i) A: 00 B: 01 C: 22 D: 02

    for i in range(4):if i%2==0:print(i)breakprint(i) A: 00 B: 01 C: 22 D: 02

  • 2022-06-07 问题

    列表lst=&#91;12, -5, -22, -10, -26, 35, 0, 49, 3, -21&#93;,lst&#91;::-1&#93;的结果是&#91;-21, 3, 49, 0, 35, -26, -10, -22, -5, 12&#93;。

    列表lst=&#91;12, -5, -22, -10, -26, 35, 0, 49, 3, -21&#93;,lst&#91;::-1&#93;的结果是&#91;-21, 3, 49, 0, 35, -26, -10, -22, -5, 12&#93;。

  • 1 2 3 4 5 6 7 8 9 10