|
1. |
pretorik |
- |
161 |
2. |
markr |
- |
116 |
3. |
Gordon Weir |
- |
104 |
4. |
mbloomfi |
- |
97 |
5. |
Dennis Nazarov |
- |
96 |
6. |
zzz123 |
- |
72 |
7. |
Srikanta |
- |
56 |
8. |
lidSpelunker |
- |
53 |
9. |
SAMIH FAHMY |
- |
48 |
10. |
jkr |
- |
44 |
|
|
|
|
1. |
denisR, mishik |
- |
236 |
2. |
alan, De_Bill |
- |
231 |
3. |
dddfff |
- |
228 |
4. |
kavfy |
- |
221 |
5. |
idler_ |
- |
106 |
6. |
akajobe |
- |
94 |
7. |
tolstyi |
- |
56 |
8. |
STARuK |
- |
42 |
9. |
vale |
- |
31 |
10. |
xandr |
- |
11 |
|
|
|
|
|
A positive integer is given. How can you determine whether it is a
power of 2 without using recursion and floating point operations? |
|
|
Please do not post comments containing clues, hints, or anything that might be considered as a hint to others. All such comments will be deleted. If you have a question, you can contact a moderator by clicking the button "Submit your solution".
|
idler_ |
|
Rating: 106
Group: Moderators
|
|
|
|
lidSpelunker |
|
Rating: 53
Group: Members
|
|
|
|
alan |
|
Rating: 231
Group: Moderators
|
|
|
|
zzz123 |
|
Rating: 72
Group: Members
|
|
|
|
alan |
|
Rating: 231
Group: Moderators
|
|
|
|
zzz123 |
|
Rating: 72
Group: Members
|
|
|
|
alan |
|
Rating: 231
Group: Moderators
|
|
|
|
Muzza |
|
Rating: 15
Group: Members
|
|
|
|
|
|
|