提交时间:2024-08-19 15:41:56
运行 ID: 166945
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m; while(m--) { cin>>n; if((n&(n-1))==0){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } } return 0; }