Aimee

只要不能写成\(2^N N \subseteq N^*\)就肯定有

 #include<iostream>
 #include<cstdio>
 #include<cmath>
 #define int long long
 using namespace std;
 int n,m;
 int prime[5000001];
 int flag[10000001];
 int Aimee[5000001];
 int p; 
 int num;
 int now;
 int t;
 long long x;
 signed main(){
     scanf("%d",&t);
	 while(t--){
	 	int f=0;
	 	scanf("%lld",&x);
		while(x>1){
			if(x&1){
				cout<<"Yes\n";
				f=1;
				break;
			}
			x>>=1;
		}
		if(!f){
			cout<<"No\n";
		}
	 }  
     return 0;
 }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-05-14
  • 2020-05-15
  • 2022-12-23
  • 2021-06-21
猜你喜欢
  • 2021-08-29
  • 2022-12-23
  • 2021-12-25
  • 2021-08-04
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案