結果

問題 No.1082 XORのXOR
ユーザー O2MTO2MT
提出日時 2020-12-15 00:18:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 153 ms / 2,000 ms
コード長 167 bytes
コンパイル時間 1,338 ms
コンパイル使用メモリ 81,620 KB
実行使用メモリ 214,760 KB
最終ジャッジ日時 2023-10-20 05:21:04
合計ジャッジ時間 4,878 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,392 KB
testcase_01 AC 37 ms
53,392 KB
testcase_02 AC 37 ms
53,392 KB
testcase_03 AC 151 ms
214,628 KB
testcase_04 AC 132 ms
214,696 KB
testcase_05 AC 131 ms
214,744 KB
testcase_06 AC 131 ms
214,744 KB
testcase_07 AC 131 ms
214,744 KB
testcase_08 AC 153 ms
214,652 KB
testcase_09 AC 132 ms
214,668 KB
testcase_10 AC 131 ms
214,668 KB
testcase_11 AC 129 ms
214,652 KB
testcase_12 AC 129 ms
214,728 KB
testcase_13 AC 130 ms
214,680 KB
testcase_14 AC 130 ms
214,728 KB
testcase_15 AC 130 ms
214,744 KB
testcase_16 AC 130 ms
214,696 KB
testcase_17 AC 131 ms
214,696 KB
testcase_18 AC 132 ms
214,712 KB
testcase_19 AC 129 ms
214,636 KB
testcase_20 AC 130 ms
214,696 KB
testcase_21 AC 129 ms
214,652 KB
testcase_22 AC 129 ms
214,760 KB
testcase_23 AC 129 ms
214,680 KB
testcase_24 AC 130 ms
214,744 KB
testcase_25 AC 129 ms
214,744 KB
testcase_26 AC 129 ms
214,744 KB
testcase_27 AC 129 ms
214,760 KB
testcase_28 AC 37 ms
53,392 KB
testcase_29 AC 37 ms
53,392 KB
testcase_30 AC 37 ms
53,392 KB
testcase_31 AC 37 ms
53,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
bit_list = []
for i in range(N):
    for j in range(i+1,N):
        bit_list.append(A[i]^A[j])
print(max(bit_list))
0