結果

問題 No.1082 XORのXOR
ユーザー vwxyzvwxyz
提出日時 2024-04-15 12:00:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 499 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 62,484 KB
最終ジャッジ日時 2024-04-15 12:00:56
合計ジャッジ時間 3,120 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,440 KB
testcase_01 AC 39 ms
51,628 KB
testcase_02 AC 39 ms
53,100 KB
testcase_03 AC 57 ms
62,484 KB
testcase_04 AC 57 ms
61,376 KB
testcase_05 AC 56 ms
61,016 KB
testcase_06 AC 56 ms
61,024 KB
testcase_07 AC 57 ms
61,232 KB
testcase_08 AC 55 ms
61,144 KB
testcase_09 AC 56 ms
61,236 KB
testcase_10 AC 56 ms
60,556 KB
testcase_11 AC 57 ms
61,464 KB
testcase_12 AC 56 ms
60,768 KB
testcase_13 AC 57 ms
60,400 KB
testcase_14 AC 57 ms
61,292 KB
testcase_15 AC 56 ms
61,620 KB
testcase_16 AC 57 ms
61,612 KB
testcase_17 AC 57 ms
61,204 KB
testcase_18 AC 56 ms
60,864 KB
testcase_19 AC 56 ms
60,684 KB
testcase_20 AC 56 ms
61,020 KB
testcase_21 AC 56 ms
62,080 KB
testcase_22 AC 56 ms
60,828 KB
testcase_23 AC 56 ms
62,028 KB
testcase_24 AC 55 ms
61,048 KB
testcase_25 AC 56 ms
62,144 KB
testcase_26 AC 56 ms
61,204 KB
testcase_27 AC 55 ms
61,100 KB
testcase_28 AC 39 ms
52,156 KB
testcase_29 AC 38 ms
52,572 KB
testcase_30 AC 39 ms
52,516 KB
testcase_31 AC 38 ms
52,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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