二进制取得最右边的1(背下来!)

n&((~n)+1)

posted @ 2021-09-21 17:42  蘑菇王国大聪明  阅读(100)  评论(0)    收藏  举报