| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141606 | 罗晟睿 | 判断完全数 | C++ | Output Limit Exceeded | 7 MS | 268 KB | 257 | 2025-12-27 15:16:10 |
#include<bits/stdc++.h> using namespace std; int main() { int n,sum=0; cin>>n; for(int i=1;i<n;i++){ if(i%n==0){ sum++; } if(sum==0){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } } return 0; }