- 求正整数 2 和 n 之间的完全数
行
- @ 2025-12-3 20:19:59
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long n;
cin >>n;
if(n>=6) cout <<6<<"\n";
if(n>=28) cout <<28<<"\n";
if(n>=496) cout <<496<<"\n";
return 0;
}
0 comments
No comments so far...
Information
- ID
- 669
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 4
- Tags
- (None)
- # Submissions
- 254
- Accepted
- 114
- Uploaded By