摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4712解题报告:输入n个数,用十六进制的方式输入的,任意选择其中的两个数进行异或,求异或后的数用二进制表示后1的个数最小的是多少?(n 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int maxn = 1<<21; 8 9 int num1[maxn+5];10 int que[100005];11 void dabiao()12 {13 for(int i = 0;i <= 阅读全文
posted @ 2014-03-30 20:30 xiaxiaosheng 阅读(294) 评论(0) 推荐(0) 编辑