• 剑指offer 中有一道题 xff1a 输入一个整数 xff0c 输出该数二进制表示中 span class token number 1 span 的个数 其中负数用补码表示 如果不是负数很好解决 xff0c 用到如下技巧即可 n spa