結果

問題 No.1082 XORのXOR
ユーザー raven7959raven7959
提出日時 2021-10-06 21:33:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 86,920 KB
実行使用メモリ 76,880 KB
最終ジャッジ日時 2023-09-30 08:53:08
合計ジャッジ時間 4,609 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,356 KB
testcase_01 AC 74 ms
71,436 KB
testcase_02 AC 74 ms
71,128 KB
testcase_03 AC 86 ms
76,588 KB
testcase_04 AC 88 ms
76,448 KB
testcase_05 AC 87 ms
76,744 KB
testcase_06 AC 87 ms
76,880 KB
testcase_07 AC 86 ms
76,536 KB
testcase_08 AC 88 ms
76,556 KB
testcase_09 AC 87 ms
76,672 KB
testcase_10 AC 89 ms
76,712 KB
testcase_11 AC 87 ms
76,488 KB
testcase_12 AC 88 ms
76,532 KB
testcase_13 AC 87 ms
76,716 KB
testcase_14 AC 87 ms
76,312 KB
testcase_15 AC 87 ms
76,732 KB
testcase_16 AC 87 ms
76,596 KB
testcase_17 AC 87 ms
76,404 KB
testcase_18 AC 88 ms
76,668 KB
testcase_19 AC 88 ms
76,536 KB
testcase_20 AC 88 ms
76,624 KB
testcase_21 AC 88 ms
76,748 KB
testcase_22 AC 88 ms
76,704 KB
testcase_23 AC 86 ms
76,672 KB
testcase_24 AC 86 ms
76,672 KB
testcase_25 AC 88 ms
76,440 KB
testcase_26 AC 89 ms
76,480 KB
testcase_27 AC 88 ms
76,672 KB
testcase_28 AC 76 ms
71,260 KB
testcase_29 AC 76 ms
71,132 KB
testcase_30 AC 76 ms
71,372 KB
testcase_31 AC 76 ms
71,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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