提交时间:2024-08-19 09:42:02

运行 ID: 166071

#include <bits/stdc++.h> using namespace std; int T, n; int main() { cin>>T; while(T--){ cin >> n; while(true){ n = (n >> 1); if(n == 2){ cout<<"Yes\n"; break; }if(n == 1){ cout<<"No\n"; break; } } } }