113.患者,男性,40岁。一天来发热、咳嗽、胸痛、头晕。2h前逐渐出现面色苍白,意识模糊,血压9.3/6.7kPa,脉搏140次/min,血白细胞数21×109/L,腹部体检(-),胸片右上肺大片密度均匀阴影。抢救最主要的措施为( )
A. 扩充血容量、抗感染
B. 吸氧
C. 物理降温
D. 指导患者有效咳嗽
E. 应用升压药
补充下列程序(爬楼梯问题):def goUpStairs(n):if n < 1:return 0if n == 1:return 1if n == 2:return 2a,b = 1,2sum = 0for i in :sum = a + breturn sumgoUpStairs(10)
补充下列程序(背包问题):def backpack_record(goods, c, w, v):backpack_rec = [[0 for i in range(c+1)] for i in range(len(goods)+1)]for i in range(, len(goods)+1):for j in range(, c+1):if j < w[i - 1]:backpack_rec[i][j] = backpack_rec[i-1][j]else:backpack_rec[i][j] = max(backpack_rec[i-1][j],backpack_rec[i-1][j-w[i-1]] + v[i-1])return backpack_recdef backpack_results(goods, c, w, res):print('可容纳最大价值为:', res[len(goods)][c])x = [False for i in range(len(goods)+1)]j = ci = len(goods)while i>=0:if :x[i] =j -=i -= 1print('选择的物品为:')for i in range(len(goods)+1):if x[i]:print('第', i, '个,', end='')print('')goods = ['a', 'b', 'c', 'd']c = 8w = [2, 4, 5, 3]v = [5, 4, 6, 2]res = backpack_record(goods, c, w, v)backpack_results(goods, c, w, res)