Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
150245 | 刘子隽bylz | 整数幂 | C++ | Accepted | 100 | 4 MS | 248 KB | 191 | 2024-06-01 16:46:28 |
#include <bits/stdc++.h> using namespace std; int main() { int x,n; cin>>x; for(int i=1;i<=x;i++){ cin>>n; ((n&(n-1))==0)?cout<<"Yes"<<endl:cout<<"No"<<endl; } return 0; }