Guest User

Untitled

a guest
May 25th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. bool mystery(unsigned int num){
  2. unsigned int other = num - 1;
  3. bool result = ((num & other) == 0);
  4. return result;
  5. }
Add Comment
Please, Sign In to add comment