转载:
http://blog.csdn.net/gaochao1900/article/details/5646211
http://www.cnblogs.com/Martinium/archive/2013/03/01/popcount.html