結果

問題 No.1082 XORのXOR
ユーザー _matumo__matumo_
提出日時 2020-07-26 11:29:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 750 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 8,420 KB
最終ジャッジ日時 2023-09-10 19:20:30
合計ジャッジ時間 21,322 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,836 KB
testcase_01 AC 17 ms
7,884 KB
testcase_02 AC 20 ms
7,824 KB
testcase_03 AC 747 ms
8,220 KB
testcase_04 AC 725 ms
8,228 KB
testcase_05 AC 732 ms
8,340 KB
testcase_06 AC 719 ms
8,308 KB
testcase_07 AC 725 ms
8,216 KB
testcase_08 AC 709 ms
8,244 KB
testcase_09 AC 718 ms
8,312 KB
testcase_10 AC 719 ms
8,256 KB
testcase_11 AC 720 ms
8,392 KB
testcase_12 AC 712 ms
8,420 KB
testcase_13 AC 712 ms
8,196 KB
testcase_14 AC 717 ms
8,208 KB
testcase_15 AC 743 ms
8,420 KB
testcase_16 AC 725 ms
8,232 KB
testcase_17 AC 721 ms
8,320 KB
testcase_18 AC 736 ms
8,268 KB
testcase_19 AC 730 ms
8,316 KB
testcase_20 AC 720 ms
8,408 KB
testcase_21 AC 711 ms
8,344 KB
testcase_22 AC 714 ms
8,412 KB
testcase_23 AC 750 ms
8,380 KB
testcase_24 AC 718 ms
8,244 KB
testcase_25 AC 717 ms
8,316 KB
testcase_26 AC 742 ms
8,192 KB
testcase_27 AC 734 ms
8,320 KB
testcase_28 AC 15 ms
7,812 KB
testcase_29 AC 15 ms
7,868 KB
testcase_30 AC 14 ms
7,832 KB
testcase_31 AC 15 ms
7,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
m=0
for i,x in enumerate(A):
    for y in A[i+1:]:
        m=max(m,x^y)
print(m)
0