結果

問題 No.130 XOR Minimax
ユーザー H3PO4
提出日時 2024-04-15 08:53:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 21,636 KB
最終ジャッジ日時 2024-10-05 01:36:08
合計ジャッジ時間 9,774 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(64):
    if set((a >> i) & 1 for a in A) == {0, 1}:
        ans += 1 << i
print(ans)
0