摘要: 解题思路:就是求数 n 对应的二进制数中有多少个 1#include #includeusing namespace std; int main(){ int n; cin>>n; int ans = 0;// while(n){//这也是一种好的方法// n ... 阅读全文
posted @ 2015-09-21 19:07 hjzqyx 阅读(355) 评论(0) 推荐(0) 编辑