#Q52. 「一本通 2.3 例 2」The XOR Largest Pair
「一本通 2.3 例 2」The XOR Largest Pair
Description
Given integers , select two of them to perform an XOR operation. What is the maximum possible result?
Input Format
The first line contains an integer .
The second line contains integers .
Output Format
Output a single integer representing the answer.
Sample 1
5
2 9 5 7 0
14
Constraints & Hints
For of the data, and .