提交时间:2024-08-19 10:05:40
运行 ID: 166182
#include <bits/stdc++.h> using namespace std; long long T, n; bool IAKIOI(double x){ int y = (int)x; if(y == x) return true; return false; } int main() { cin>>T; while(T--){ cin >> n; if(IAKIOI(log2(n))) cout<<"Yes"<<endl; else cout<<"No"<<endl; } }