Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
8409 D班-罗炜翰 计算多项式的值 C++ 解答错误 0 1 MS 260 KB 308 2025-03-30 12:19:05

Tests(0/4):


#include<bits/stdc++.h> using namespace std; int main() { int n,h; cin>>n; for(int i = n;i<=n;i++) { int x = 0; for(int j = 1;j<i;j++) { if(i%j==0) { x+=j; } } if(x==i) { cout<<"yes"; } else { cout<<"no"; } } }


测评信息: