摘要: 很经典的一道题,有很多种算法,许多算法都有很好的参考意义,当然,也存在相对最优的算法。 首先来看一下问题描述: Write the function int bitCount(DWORD input) that takes a short as input and returns an int. The function returns the number of bits set in the ... 阅读全文
posted @ 2009-09-07 14:59 EricYang 阅读(2069) 评论(0) 推荐(0) 编辑