题目链接:http://acm.split.hdu.edu.cn/showproblem.php?pid=4825 题意:有n个数m个查找,每个查找有一个数x, 从序列中找到一个数y,使得x异或y最大,输出y; 把已知序列建立01字典树,然后查找即可;就是把十进制数x装换成二进制01,因为数在int Read More
posted @ 2016-08-25 08:27 西瓜不懂柠檬的酸 Views(507) Comments(0) Diggs(0)
levels of contents