http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=604&pid=1001
给定一个数 N 把统计它的二进制表示里, 1的块数。 如 5 = 101 有两块 1 。 如 11 = 1011 也是有两块 1
第一行输入一个T, 表示有T组数据。 然后有T行, 每行一个整数(N)。
对于每组数据,输出一个数表示答案。
1 5
2