第37519题 单选题
以下C++代码实现从大到小的顺序输出 N 的所有因子。例如,输入 N = 18 时输出 18 9 6 3 2 1 ,横线处应填入( )。
int N = 0;
cin >> N;
for (__________) // 此处填写代码
    if (!(N % i))
        cout << i << ' ';
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析