提交时间:2024-08-19 21:49:47
运行 ID: 168014
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; for(int i = 1; i <= n; i++){ int t; cin >> t; while(t % 2 == 0){ t /= 2; } if(t == 1) cout << "yes" << endl; else cout << "no" << endl; } return 0; }