#P10471. 最大异或对 The XOR Largest Pair
最大异或对 The XOR Largest Pair
Problem Description
Given integers , choose two of them to compute their XOR. What is the maximum possible result?
Input Format
The first line contains an integer . The second line contains integers .
Output Format
Output one integer representing the answer.
3
1 2 3
3
Hint
For all testdata, , and it is guaranteed that .
Translated by ChatGPT 5