結果
| 問題 | No.1082 XORのXOR |
| コンテスト | |
| ユーザー |
Rusty
|
| 提出日時 | 2023-01-17 15:48:51 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 32 ms / 2,000 ms |
| + 901µs | |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 82,088 KB |
| 実行使用メモリ | 64,636 KB |
| 最終ジャッジ日時 | 2026-10-10 07:11:51 |
| 合計ジャッジ時間 | 3,089 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
x = 0
for i in range(n):
for j in range(i+1,n):
if a[i]^a[j] > x:
x = a[i]^a[j]
print(x)
Rusty