Registrations for the November 2021 System Design Cohort are now open Enroll Today

WILLITST Solution



#include <stdio.h>

int main( int argc , char * argv[] ) {

	unsigned long long int n;
	scanf("%lld" , &n);

	if ( (n & (n-1)) == 0)
		printf("TAK\n");
	else
		printf("NIE\n");

	return 0;
}

470+ Competitive Programming Solutions

If you like what you read subscribe to my newsletter.

I write essays on various engineering topics and share it through my weekly newsletter 👇