Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
9209 D班-陈颖钧 完数判断 C++ 解答错误 0 1 MS 260 KB 251 2025-04-08 21:36:51

Tests(0/10):


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


测评信息: