学习笔记转载 算法http://www.cnblogs.com/zhangshu/archive/2011/08/16/2141396.html; return x&(-x):http://blog.csdn.net/sftxlin/article/details/6751190