Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Bitwise - Check power of 2 or not
//g++ 5.4.0 #include <iostream> int main() { int num; std::cin >> num; if(num && !(num & (num - 1))) std::cout << "Power of 2"; else std::cout << "Not power of 2"; }
run
|
edit
|
history
|
help
0
Hello world.c
Aplicatie-Proiect
Atul
Fungsi
kth smallest element in a matrix
Kth smallest element
max_recursion
cppPySlots3
test
Bad palindrom