第37726题 判断题
将下面C++代码中的(int i = 5; i > 1; i--)调整为(int i = 1; i < 5; i++)输出结果相同,因为5到1 与1到5的求和相同。( )
int tnt;
tnt = 0;
for (int i = 5; i > 1; i--)
    tnt += i;
cout << tnt;
cout << endl;
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析