摘要: #include #include using namespace std;int cmp(const void *a,const void *b){ return *(int*)a-*(int*)b;}int cn(int x){ int c=0; for(;x;x=x>>1) { if(x&1) c++; } return c;}int a[... 阅读全文
posted @ 2013-03-24 06:05 码代码的猿猿 阅读(123) 评论(0) 推荐(0) 编辑