結果
| 問題 | 
                            No.1082 XORのXOR
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-10-10 20:29:50 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1,991 ms / 2,000 ms | 
| コード長 | 157 bytes | 
| コンパイル時間 | 310 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-07-20 16:57:13 | 
| 合計ジャッジ時間 | 49,179 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 29 | 
ソースコード
n = int(input())
al = list(map(int, input().split()))
ans = 0
for i in range(n-1):
    for j in range(1, n):
        ans = max(ans, al[i]^al[j])
print(ans)