Given the 32-bit binary representation of an unsigned integer, reverse the bits and return the resulting unsigned integer value.
Input: one line — a 32-character binary string. Output: the decimal value after reversal.
00000010100101000001111010011100
964176192
Reversed: 00111001011110000010100101000000₂.
11111111111111111111111111111101
3221225471
Run your code against the sample tests, or Submit to run the full suite.