提交时间:2024-07-30 22:26:35
运行 ID: 159752
# include <bits/stdc++.h> using namespace std ; int main ( ) { int n ; cin >> n ; while ( n -- ) { double t ; cin >> t ; while ( t > 1 ) { t /= 2 ; } if ( t != 1 ) { cout << "No" << endl ; } else { cout << "Yes" << endl ; } } return 0 ; }