-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1475A.cpp
More file actions
33 lines (33 loc) · 717 Bytes
/
Copy path1475A.cpp
File metadata and controls
33 lines (33 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Author:Sadman kabir
// date:2/29/2024
//-------------------------------------------------------------
#include <bits/stdc++.h>
using namespace std;
#define pb(x) push_back(x)
#define No cout << "No" << endl
#define Yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define NO cout << "NO" << endl
#define mm cout << "-1" << endl
#define nl "\n"
#define rr return
#define ll long long int
//----------------------------------------------------------------
int main()
{
int t;
cin >> t;
while (t--)
{
ll n;
cin >> n;
if ((n & (n - 1)) == 0)
{
NO;
}
else
{
YES;
}
}
}