第22689题 单选题
判断整数N是否为完全平方数的C++代码横线处应填入的代码是?

如果一个整数N能够表示为 X*X 的形式,那么它就是一个完全平方数,给定C++代码如下:

int N;
cin >> N;
for(int i = 0; i <= N; i++)
    if( _________ )
        cout << N << "是一个完全平方数\n";
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析