結果

問題 No.184 たのしい排他的論理和(HARD)
ユーザー PNJPNJ
提出日時 2024-02-05 18:19:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 159 ms / 5,000 ms
コード長 176 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 92,760 KB
最終ジャッジ日時 2024-02-05 18:20:06
合計ジャッジ時間 6,144 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,332 KB
testcase_01 AC 35 ms
53,332 KB
testcase_02 AC 36 ms
53,332 KB
testcase_03 AC 35 ms
53,332 KB
testcase_04 AC 35 ms
53,332 KB
testcase_05 AC 35 ms
53,332 KB
testcase_06 AC 35 ms
53,332 KB
testcase_07 AC 35 ms
53,332 KB
testcase_08 AC 106 ms
84,024 KB
testcase_09 AC 55 ms
64,692 KB
testcase_10 AC 102 ms
78,868 KB
testcase_11 AC 77 ms
73,588 KB
testcase_12 AC 118 ms
88,588 KB
testcase_13 AC 132 ms
90,608 KB
testcase_14 AC 88 ms
78,684 KB
testcase_15 AC 137 ms
92,580 KB
testcase_16 AC 114 ms
86,848 KB
testcase_17 AC 127 ms
90,440 KB
testcase_18 AC 38 ms
57,556 KB
testcase_19 AC 45 ms
53,332 KB
testcase_20 AC 55 ms
78,844 KB
testcase_21 AC 159 ms
92,760 KB
testcase_22 AC 141 ms
92,760 KB
testcase_23 AC 36 ms
53,332 KB
testcase_24 AC 35 ms
53,332 KB
testcase_25 AC 35 ms
53,332 KB
testcase_26 AC 35 ms
53,332 KB
testcase_27 AC 34 ms
53,332 KB
testcase_28 AC 96 ms
82,276 KB
testcase_29 AC 123 ms
90,296 KB
testcase_30 AC 107 ms
85,752 KB
testcase_31 AC 98 ms
83,664 KB
testcase_32 AC 116 ms
87,020 KB
testcase_33 AC 152 ms
92,604 KB
testcase_34 AC 133 ms
92,544 KB
testcase_35 AC 139 ms
92,712 KB
testcase_36 AC 137 ms
92,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
base = []
for a in A:
  for e in base:
    a = min(a,a ^ e)
  if a > 0:
    base.append(a)
dim = len(base)
print(pow(2,dim))
0