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