結果
| 問題 | No.3084 Identify f(x) |
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 15:29:06 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 207 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 95,600 KB |
| 実行使用メモリ | 12,160 KB |
| 最終ジャッジ日時 | 2026-07-11 14:31:44 |
| 合計ジャッジ時間 | 7,260 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 6 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
a.sort()
min_xor = float('inf')
for i in range(len(a) - 1):
current = a[i] ^ a[i+1]
if current < min_xor:
min_xor = current
print(min_xor)
gew1fw