結果

問題 No.1082 XORのXOR
ユーザー 👑 H20H20
提出日時 2020-11-30 08:55:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 555 ms
コンパイル使用メモリ 87,208 KB
実行使用メモリ 76,976 KB
最終ジャッジ日時 2023-10-11 02:43:25
合計ジャッジ時間 5,118 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,320 KB
testcase_01 AC 71 ms
71,388 KB
testcase_02 AC 72 ms
71,360 KB
testcase_03 AC 87 ms
76,612 KB
testcase_04 AC 87 ms
76,564 KB
testcase_05 AC 87 ms
76,684 KB
testcase_06 AC 87 ms
76,800 KB
testcase_07 AC 87 ms
76,816 KB
testcase_08 AC 88 ms
76,776 KB
testcase_09 AC 89 ms
76,752 KB
testcase_10 AC 88 ms
76,976 KB
testcase_11 AC 88 ms
76,760 KB
testcase_12 AC 88 ms
76,648 KB
testcase_13 AC 87 ms
76,808 KB
testcase_14 AC 88 ms
76,520 KB
testcase_15 AC 88 ms
76,836 KB
testcase_16 AC 87 ms
76,840 KB
testcase_17 AC 88 ms
76,836 KB
testcase_18 AC 89 ms
76,584 KB
testcase_19 AC 89 ms
76,588 KB
testcase_20 AC 87 ms
76,880 KB
testcase_21 AC 87 ms
76,744 KB
testcase_22 AC 89 ms
76,972 KB
testcase_23 AC 88 ms
76,884 KB
testcase_24 AC 89 ms
76,680 KB
testcase_25 AC 88 ms
76,884 KB
testcase_26 AC 89 ms
76,820 KB
testcase_27 AC 89 ms
76,700 KB
testcase_28 AC 72 ms
71,160 KB
testcase_29 AC 72 ms
71,432 KB
testcase_30 AC 74 ms
71,600 KB
testcase_31 AC 69 ms
71,452 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