uint32_t reverseBits(uint32_t n) {
unsigned int re_n=0;
int index=32;
while(index){
re_n+=n&1;
n>>=1;
if(index!=1)
re_n<<=1;
--index;
}
return re_n;
}
unsigned int re_n=0;
int index=32;
while(index){
re_n+=n&1;
n>>=1;
if(index!=1)
re_n<<=1;
--index;
}
return re_n;
}