fork(1) download
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. typedef unsigned long long int ull;
  5.  
  6. int main()
  7. {
  8. ull a;
  9. cin>>a;
  10. if(a&(a-1)==0)
  11. cout<<"TAK"<<endl;
  12. else
  13. cout<<"NIE"<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0s 2688KB
stdin
3434389890890
stdout
NIE