結果
| 問題 |
No.1082 XORのXOR
|
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2020-06-19 21:41:32 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 48 ms / 2,000 ms |
| コード長 | 161 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 82,464 KB |
| 実行使用メモリ | 62,764 KB |
| 最終ジャッジ日時 | 2024-07-03 14:10:00 |
| 合計ジャッジ時間 | 2,525 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 |
ソースコード
N, = map(int, input().split())
X = list(map(int, input().split()))
r = 0
for i in range(N):
for j in range(i+1, N):
r = max(r, X[i] ^ X[j])
print(r)
nehan_der_thal