| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166362 | 欧阳雨泽 | 整数幂 | C++ | Accepted | 100 | 1 MS | 248 KB | 236 | 2024-08-19 13:56:25 |
#include<bits/stdc++.h> using namespace std; int main(){ long long t,n,sum=1;cin>>t; while(t--){ scanf("%d",&n); while(n>sum){ sum*=2; } if(sum==n)cout<<"Yes"; else cout<<"No"; cout<<"\n"; } return 0; }