About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
suibenzhi
7/13/2018 - 3:45 PM
share
Share
add_circle_outline
Save
判断一个数是否是2的方幂.cpp
2.cpp
content_copy
file_download
static inline bool is_power_of_two(int64_t x) { return ((x) != 0 && (((x) & ((x) - 1)) == 0)); }
clear