結果

問題 No.1082 XORのXOR
ユーザー pluto77pluto77
提出日時 2020-06-20 13:00:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 885 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 8,392 KB
最終ジャッジ日時 2023-09-16 17:22:28
合計ジャッジ時間 23,591 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,800 KB
testcase_01 AC 15 ms
7,972 KB
testcase_02 AC 15 ms
7,808 KB
testcase_03 AC 876 ms
8,272 KB
testcase_04 AC 816 ms
8,388 KB
testcase_05 AC 816 ms
8,340 KB
testcase_06 AC 835 ms
8,308 KB
testcase_07 AC 871 ms
8,296 KB
testcase_08 AC 855 ms
8,224 KB
testcase_09 AC 866 ms
8,164 KB
testcase_10 AC 885 ms
8,200 KB
testcase_11 AC 861 ms
8,156 KB
testcase_12 AC 843 ms
8,316 KB
testcase_13 AC 836 ms
8,376 KB
testcase_14 AC 829 ms
8,224 KB
testcase_15 AC 838 ms
8,240 KB
testcase_16 AC 866 ms
8,296 KB
testcase_17 AC 852 ms
8,160 KB
testcase_18 AC 838 ms
8,192 KB
testcase_19 AC 885 ms
8,232 KB
testcase_20 AC 837 ms
8,376 KB
testcase_21 AC 860 ms
8,312 KB
testcase_22 AC 873 ms
8,364 KB
testcase_23 AC 834 ms
8,248 KB
testcase_24 AC 870 ms
8,348 KB
testcase_25 AC 839 ms
8,284 KB
testcase_26 AC 827 ms
8,320 KB
testcase_27 AC 844 ms
8,392 KB
testcase_28 AC 15 ms
7,816 KB
testcase_29 AC 15 ms
7,784 KB
testcase_30 AC 16 ms
7,904 KB
testcase_31 AC 16 ms
7,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki1082
n=int(input())
a=list(map(int,input().split()))
res=0
for i in range(n):
 for j in range(i,n):
  res=max(res,a[i]^a[j])
print(res)
0