why am i getting wrong judgement in code forces ques-->"1475A",it is runnng right on my pc

Правка en1, от sshreyansh962, 2023-10-20 10:31:21

include<bits/stdc++.h>

using namespace std;

int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); long long int t,n; cin>>t; while(t>0){ cin>>n; if(n%2!=0){ cout<<"YES"; } else if((log(n)/log(2))==(int)(log(n)/log(2))){ cout<<"NO"; } else{ cout<<"YES"; }

cout<<endl;
    t--;
}

}

Теги #number theory, maths

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sshreyansh962 2023-10-20 10:31:21 547 in codeforces its showing yes for 1099511627776 but in my pc i am getting no which is true (published)