Will it ever stop

WILLITST
#include<iostream>
using namespace std;
int main()
{
    long long int n;
    cin>>n;
   
    if((n&(n-1))==0)
        cout<<"TAK"<<endl;
    else
        cout<<"NIE"<<endl;
   
return 0;   
}



No comments:

Post a Comment