| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19988 | 杨竣周 | 求完全数的个数 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 204 | 2021-05-27 20:47:02 |
#include<bits/stdc++.h> using namespace std; int n,i=-1,a; int pe[8]={6,28,496,8128,130816,2096128,33550336,536854528}; int main(){ cin>>n; while(i<8) if(n>=pe[++i]) a++; cout<<a; return 0; }