Timeline for Reversed Binary Numbers
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 30, 2015 at 20:11 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 26 characters in body
|
Jan 10, 2015 at 21:13 | comment | added | chux |
OP's sample #1 has input 13 and output 11 . This code gives output 2952790016 .
|
|
Jan 6, 2015 at 16:27 | comment | added | rolfl | Additionally, your definition of 32-bits to an int reminded me that int is only guaranteed as 16 bits in C. It's not necessarily 32-bit at all. | |
Jan 6, 2015 at 16:20 | comment | added | rolfl | I believe you have mis-read the spec. Not all bits need to be reversed, just the bits from the most significant set bit.... The spec says input 13 needs to become 11 .... and so on. | |
Jan 6, 2015 at 16:16 | history | answered | user3629249 | CC BY-SA 3.0 |