Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
150247 | 杰苏尔纳迪尔 | 整数幂 | C++ | Accepted | 100 | 5 MS | 244 KB | 219 | 2024-06-01 16:47:17 |
#include<iostream> using namespace std; int main(){ int n,m; cin>>n; int x[n]; for(int i=0;i<n;i++){ cin>>m; if((m&(m-1))==0){ cout<<"Yes"<<endl; } else cout<<"No"<<endl; } return 0; }