[CareerCup] 5.3 Next Binary Representation 下一个二进制表达

5.3 Given a positive integer, print the next smallest and the next largest number that have the same number of 1 bits in their binary representation.

原文地址:https://www.cnblogs.com/grandyang/p/4725565.html