結果

問題 No.1082 XORのXOR
ユーザー 👑 KazunKazun
提出日時 2020-06-27 15:26:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 342 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 76,876 KB
最終ジャッジ日時 2023-09-19 03:10:51
合計ジャッジ時間 5,614 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
71,360 KB
testcase_01 AC 80 ms
71,200 KB
testcase_02 AC 81 ms
70,988 KB
testcase_03 AC 97 ms
76,572 KB
testcase_04 AC 94 ms
76,676 KB
testcase_05 AC 92 ms
76,328 KB
testcase_06 AC 92 ms
76,592 KB
testcase_07 AC 95 ms
76,448 KB
testcase_08 AC 95 ms
76,628 KB
testcase_09 AC 94 ms
76,580 KB
testcase_10 AC 94 ms
76,436 KB
testcase_11 AC 95 ms
76,792 KB
testcase_12 AC 96 ms
76,432 KB
testcase_13 AC 95 ms
76,876 KB
testcase_14 AC 96 ms
76,648 KB
testcase_15 AC 97 ms
76,668 KB
testcase_16 AC 97 ms
76,408 KB
testcase_17 AC 97 ms
76,732 KB
testcase_18 AC 96 ms
76,668 KB
testcase_19 AC 96 ms
76,452 KB
testcase_20 AC 96 ms
76,808 KB
testcase_21 AC 96 ms
76,328 KB
testcase_22 AC 98 ms
76,328 KB
testcase_23 AC 96 ms
76,588 KB
testcase_24 AC 98 ms
76,436 KB
testcase_25 AC 98 ms
76,700 KB
testcase_26 AC 96 ms
76,644 KB
testcase_27 AC 94 ms
76,684 KB
testcase_28 AC 78 ms
71,480 KB
testcase_29 AC 80 ms
71,364 KB
testcase_30 AC 79 ms
71,432 KB
testcase_31 AC 79 ms
71,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))

M=0
for i in range(N):
    for j in range(N):
        M=max(M,A[i]^A[j])
print(M)
0