結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー c-yanc-yan
提出日時 2020-12-25 00:19:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 180 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 11,756 KB
実行使用メモリ 10,980 KB
最終ジャッジ日時 2023-10-21 15:56:16
合計ジャッジ時間 7,727 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,052 KB
testcase_01 AC 29 ms
10,052 KB
testcase_02 AC 32 ms
10,720 KB
testcase_03 AC 31 ms
10,192 KB
testcase_04 AC 28 ms
10,052 KB
testcase_05 AC 35 ms
10,980 KB
testcase_06 AC 29 ms
10,052 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, *A = map(int, open(0).read().split())

result = {0}
for a in set(A):
    for b in list(result):
        if a ^ b not in result:
            result.add(a ^ b)
print(len(result))
0