51nod-3216授勋 思路: 由于勋章都是有2的次幂组成的数,所以每一个数不断减掉他的lowbit的次数,最后就是答案。 #include <cstdio> #include <iostream> #define lowbit