Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
150244 | A班卞定熙 | 整数幂 | C++ | Accepted | 100 | 4 MS | 240 KB | 196 | 2024-06-01 16:46:04 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n; cin>>x; for(int i=1;i<=x;i++){ cin>>n; if((n&(n-1))==0) cout<<"Yes"<<endl; else cout<<"No"<<endl; } return 0; }