結果

問題 No.1082 XORのXOR
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-06-19 21:41:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 1,153 ms
コンパイル使用メモリ 87,308 KB
実行使用メモリ 76,828 KB
最終ジャッジ日時 2023-09-16 13:44:29
合計ジャッジ時間 4,101 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,424 KB
testcase_01 AC 69 ms
71,340 KB
testcase_02 AC 69 ms
71,376 KB
testcase_03 AC 86 ms
76,592 KB
testcase_04 AC 83 ms
76,556 KB
testcase_05 AC 82 ms
76,676 KB
testcase_06 AC 82 ms
76,644 KB
testcase_07 AC 82 ms
76,524 KB
testcase_08 AC 81 ms
76,540 KB
testcase_09 AC 82 ms
76,828 KB
testcase_10 AC 84 ms
76,544 KB
testcase_11 AC 82 ms
76,644 KB
testcase_12 AC 81 ms
76,480 KB
testcase_13 AC 81 ms
76,544 KB
testcase_14 AC 80 ms
76,532 KB
testcase_15 AC 80 ms
76,824 KB
testcase_16 AC 80 ms
76,476 KB
testcase_17 AC 82 ms
76,316 KB
testcase_18 AC 83 ms
76,544 KB
testcase_19 AC 86 ms
76,520 KB
testcase_20 AC 85 ms
76,544 KB
testcase_21 AC 85 ms
76,520 KB
testcase_22 AC 86 ms
76,804 KB
testcase_23 AC 83 ms
76,688 KB
testcase_24 AC 81 ms
76,684 KB
testcase_25 AC 81 ms
76,432 KB
testcase_26 AC 80 ms
76,540 KB
testcase_27 AC 83 ms
76,424 KB
testcase_28 AC 70 ms
71,504 KB
testcase_29 AC 70 ms
71,036 KB
testcase_30 AC 68 ms
71,376 KB
testcase_31 AC 69 ms
71,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0