結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー qewqewqew
提出日時 2018-12-15 01:51:43
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 184 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 27,100 KB
最終ジャッジ日時 2024-09-25 05:40:45
合計ジャッジ時間 7,068 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 TLE * 1 -- * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = set(map(int, input().split()))
ables = set([0])
for i in a:
    tmp = []
    for j in ables:
        tmp.append(j^i)
    ables = ables | set(tmp)
print(len(ables))
0