第29740题 单选题
给定原数组arr = {2,5,1,3,4}(下标从0开始),前缀和数组s构造规则为s[0]=0,s[i] = s[i-1] + arr[i-1](i≥1),若要计算arr下标2到4的闭区间元素和,以下表达式正确的是?
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析