Task: Implement Power of Two Checker in C
Task: Implement Power of Two Checker in C: a task in Terminal-Lego-15k (Harbor dataset). Implement a C program that checks whether a given number is a power of 2. The algorithm must be simple, efficient, and correct for any ulong (unsigned 64-bit integer) value.
The task
Implement a C# program that checks whether a given number is a power of 2. The algorithm must be simple, efficient, and correct for any `ulong` (unsigned 64-bit integer) value.
Part of PrimeIntellect/Terminal-Lego-15k.