提交时间:2024-08-19 09:49:38
运行 ID: 166085
#include <bits/stdc++.h> using namespace std; int T, n, RP; bool f; int main() { cin>>T; while(T--){ cin >> n; RP = 0; f = false; while(RP <= n/2){ RP++; if(pow(2, RP)){ cout<<"Yes"<<endl; f = true; break; } } if(!f) cout<<"No"<<endl; } }