結果

問題 No.1082 XORのXOR
ユーザー syunsukesyunsuke
提出日時 2020-09-15 22:26:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 883 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 76,776 KB
最終ジャッジ日時 2023-09-04 03:00:31
合計ジャッジ時間 4,602 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,264 KB
testcase_01 AC 69 ms
71,064 KB
testcase_02 AC 69 ms
71,196 KB
testcase_03 AC 80 ms
76,632 KB
testcase_04 AC 82 ms
76,740 KB
testcase_05 AC 81 ms
76,356 KB
testcase_06 AC 81 ms
76,312 KB
testcase_07 AC 81 ms
76,540 KB
testcase_08 AC 81 ms
76,592 KB
testcase_09 AC 78 ms
76,512 KB
testcase_10 AC 80 ms
76,724 KB
testcase_11 AC 81 ms
76,612 KB
testcase_12 AC 80 ms
76,600 KB
testcase_13 AC 79 ms
76,592 KB
testcase_14 AC 79 ms
76,560 KB
testcase_15 AC 81 ms
76,592 KB
testcase_16 AC 81 ms
76,312 KB
testcase_17 AC 80 ms
76,640 KB
testcase_18 AC 82 ms
76,564 KB
testcase_19 AC 81 ms
76,540 KB
testcase_20 AC 81 ms
76,412 KB
testcase_21 AC 82 ms
76,368 KB
testcase_22 AC 82 ms
76,616 KB
testcase_23 AC 82 ms
76,540 KB
testcase_24 AC 82 ms
76,640 KB
testcase_25 AC 80 ms
76,776 KB
testcase_26 AC 83 ms
76,544 KB
testcase_27 AC 82 ms
76,368 KB
testcase_28 AC 70 ms
71,452 KB
testcase_29 AC 69 ms
71,368 KB
testcase_30 AC 69 ms
71,168 KB
testcase_31 AC 69 ms
71,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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