第29734题 单选题
给定一维整数数组arr = [3, 1, 4, 2, 5],若前缀和数组s按照s[0] = 0,s[i] = arr[0] + arr[1] + ... + arr[i-1]的规则构造,求数组下标从0开始的闭区间[2,4]的元素总和为多少?
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析