最大异或对 The XOR Largest Pair
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
给定 个整数 中选出两个进行异或计算,得到的结果最大是多少?
输入格式
第一行一个整数 ,第二行 个整数 。
输出格式
一个整数表示答案。
3
1 2 3
3
提示
对于所有测试数据,,保证 。