第21541题 单选题
运行给定的骆驼载重判断C++程序,输入货物重量为188时的输出结果是什么?

唐代丝绸之路上,骆驼是沿途商队的重要交通工具,已知一头成年单峰骆驼的最大载重为200公斤,对应实现代码如下:

#include <iostream>
using namespace std;
int main() {
    int n;
    cin >> n;
    if (n <= 200) {
        cout << "剩余载重" << 200 - n;
    } else {
        cout << "超重" << n - 200;
    }
    return 0;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析